Documentation ¶
Index ¶
- func CertUserFromRequest(r *Request) (_ helper.User, ok bool)
- func DeployEnvFromRequest(r *Request) (_ string, ok bool)
- func ExtendHandler(handler Handler, extensions ...Middleware) Handler
- func EyesOnly(handler Handler) Handler
- func StrFromRequest(request *Request, key string) (_ string, ok bool)
- func Uint64FromRequest(request *Request, key string) (_ uint64, ok bool)
- func WithLocalDeployEnv(handler Handler) Handler
- type FnAuthorize
- type Middleware
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CertUserFromRequest ¶
func DeployEnvFromRequest ¶
func ExtendHandler ¶
func ExtendHandler(handler Handler, extensions ...Middleware) Handler
func StrFromRequest ¶
func Uint64FromRequest ¶
func WithLocalDeployEnv ¶
func WithLocalDeployEnv(handler Handler) Handler
Types ¶
type Middleware ¶
type Middleware = func(Handler) Handler
func WithOptionalAuthentication ¶
func WithOptionalAuthentication(authorizer FnAuthorize) Middleware
func WithRequiredAuthentication ¶
func WithRequiredAuthentication(authorizer FnAuthorize) Middleware
Click to show internal directories.
Click to hide internal directories.