Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CtxKey ¶
type CtxKey int
CtxKey represents a context.Context value key type
const CtxSession CtxKey = 1
CtxSession defines the context.Context session value key
type IsUser ¶
type IsUser struct{}
IsUser indicates that the client is required to be an authenticated user
type RequestSession ¶
RequestSession represents a client session
type Requirement ¶
type Requirement interface {
// contains filtered or unexported methods
}
Requirement defines the authorization requirement implementation interface
Click to show internal directories.
Click to hide internal directories.