Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthRequired ¶
func AuthRequired(h httprouter.Handle, env *utils.Env) httprouter.Handle
AuthRequired is a middleware handler that makes sure the request Contains a bearer authorization token and places the userId in the context if the token is valid
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.