Documentation ¶ Index ¶ Variables func CurrentUser(ctx context.Context) *ent.User func FiberCtx(ctx context.Context) *fiber.Ctx func WithCurrentUser(ctx context.Context, user *ent.User) context.Context func WithFiberCtx(ctx context.Context, fiberCtx *fiber.Ctx) context.Context Constants ¶ This section is empty. Variables ¶ View Source var ( CtxKeyCurrentUser ctxKey = "currentUser" CtxKeyFiberCtx ctxKey = "fiberCtx" ) Functions ¶ func CurrentUser ¶ func CurrentUser(ctx context.Context) *ent.User func FiberCtx ¶ func FiberCtx(ctx context.Context) *fiber.Ctx func WithCurrentUser ¶ func WithCurrentUser(ctx context.Context, user *ent.User) context.Context func WithFiberCtx ¶ func WithFiberCtx(ctx context.Context, fiberCtx *fiber.Ctx) context.Context Types ¶ This section is empty. Source Files ¶ View all Source files appcontext.go Click to show internal directories. Click to hide internal directories.