Versions in this module Expand all Collapse all v0 v0.8.0 Nov 20, 2022 Changes in this version + var ErrNotAuthenticated = errors.New("not authenticated or read-only") + func CtxWithUser(ctx context.Context, userId entity.Id) context.Context + func Middleware(fixedUserId entity.Id) func(http.Handler) http.Handler + func UserFromCtx(ctx context.Context, r *cache.RepoCache) (*cache.IdentityCache, error)