github.com/abraithwaite/jeff

jeff

Simple, flexible, secure, and idiomatic web session management with pluggable backends.

71

Decision Signals

Health score 71/100, confidence 100/100.

Review
Maintenance 45
Adoption 66
Security 92
Maturity 87
Developer DX 91
Confidence 100

Install

go get github.com/abraithwaite/jeff

Package Data

updated May 29, 2026
Latest versionv0.2.1
Imported by2 packages
Stars272
Forks16
Last activity1 years ago
Latest releaseUnknown
LicenseBSD-3-Clause
Known vuln records0

API Surface

38 symbols
SymbolKindSynopsis
Jeff Type type Jeff struct{}
Jeff.Clear Method func (j *Jeff) Clear(ctx context.Context, w http.ResponseWriter) error
Jeff.Delete Method func (j *Jeff) Delete(ctx context.Context, key []byte, tokens ...[]byte) error
Jeff.Public Method func (j *Jeff) Public(wrap http.Handler) http.Handler
Jeff.PublicFunc Method func (j *Jeff) PublicFunc(wrap http.HandlerFunc) http.HandlerFunc
Jeff.SessionsForKey Method func (j *Jeff) SessionsForKey(ctx context.Context, key []byte) (SessionList, error)
Jeff.Set Method func (j *Jeff) Set(ctx context.Context, w http.ResponseWriter, key []byte, meta ...[]byte) error
Jeff.Wrap Method func (j *Jeff) Wrap(wrap http.Handler) http.Handler
Jeff.WrapFunc Method func (j *Jeff) WrapFunc(wrap http.HandlerFunc) http.HandlerFunc
New Function func New(s Storage, opts ...func(*Jeff)) *Jeff
Session Type type Session struct{ ... }
ActiveSession Function func ActiveSession(ctx context.Context) Session

Maintained Alternatives

limited recent repository activity

#1 golang-jwt

Package jwt is a Go implementation of JSON Web Tokens: http://self-issued.info/docs/draft-jones-json-web-token.html

Go JWT Libraries 9.1K stars 15.1K imported-by 100% confidence
96

#2 jwtauth

JWT authentication middleware for Go HTTP services

Go JWT Libraries 640 stars 697 imported-by 95% confidence
95

#3 pocketbase

Open Source realtime backend in 1 file

Go JWT Libraries 58.7K stars 544 imported-by 100% confidence
94

#4 hanko

Modern authentication, on your terms. Open source alternative to Auth0, Clerk, WorkOS, Stytch.

Go JWT Libraries 8.9K stars 0 imported-by 95% confidence
90

#5 jwt

Package jwt implements JSON Web Tokens as described in RFC 7519.

Go JWT Libraries 2.4K stars 0 imported-by 75% confidence
84

Similar Packages

Go JWT Libraries

#1 golang-jwt

Package jwt is a Go implementation of JSON Web Tokens: http://self-issued.info/docs/draft-jones-json-web-token.html

Go JWT Libraries 9.1K stars 15.1K imported-by 100% confidence
96

#2 jwtauth

JWT authentication middleware for Go HTTP services

Go JWT Libraries 640 stars 697 imported-by 95% confidence
95

#3 pocketbase

Open Source realtime backend in 1 file

Go JWT Libraries 58.7K stars 544 imported-by 100% confidence
94

#4 hanko

Modern authentication, on your terms. Open source alternative to Auth0, Clerk, WorkOS, Stytch.

Go JWT Libraries 8.9K stars 0 imported-by 95% confidence
90

#5 jwt

Package jwt implements JSON Web Tokens as described in RFC 7519.

Go JWT Libraries 2.4K stars 0 imported-by 75% confidence
84