Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccessToken ¶
AccessToken middleware is used to set the user from an x-access-token to the context
Types ¶
type Option ¶
type Option func(o *Options)
Option defines a single option function.
func TokenManagerConfig ¶
func TokenManagerConfig(cfg config.TokenManager) Option
TokenManagerConfig provides a function to set the token manger config option.
Click to show internal directories.
Click to hide internal directories.