Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ForContext ¶
ForContext finds the user from the context. REQUIRES Middleware to have run.
Types ¶
type AccessDenied ¶
type AccessDenied struct{}
AccessDenied error in the case user don't have permission
func (*AccessDenied) Error ¶
func (m *AccessDenied) Error() string
Click to show internal directories.
Click to hide internal directories.