Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContextKey ¶
type ContextKey string
ContextKey is a custom type for context keys to avoid collisions
const ( // ContextKeyUsername is the context key for storing username ContextKeyUsername ContextKey = "username" // ContextKeyRole is the context key for storing user role ContextKeyRole ContextKey = "role" )
Click to show internal directories.
Click to hide internal directories.