Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var UserCtxKey = &contextKey{"user"}
A private key for context that only this package can access. This is important to prevent collisions between different context uses
Functions ¶
func ForContext ¶
ForContext finds the user from the context. REQUIRES Middleware to have run.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.