Documentation ¶
Index ¶
- func Audith(ca CustomAuditor) routebuilder.Middleware
- func BasicAuditor(a Auditor) routebuilder.Middleware
- func BasicAuth(auth Authenticate) routebuilder.Middleware
- func CustomHeader(k, v string) func(h http.HandlerFunc) http.HandlerFunc
- func Headers(headers map[string]string) func(h http.HandlerFunc) http.HandlerFunc
- type Auditor
- type Authenticate
- type CustomAuditor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Audith ¶ added in v1.1.0
func Audith(ca CustomAuditor) routebuilder.Middleware
func BasicAuditor ¶ added in v1.1.0
func BasicAuditor(a Auditor) routebuilder.Middleware
func BasicAuth ¶
func BasicAuth(auth Authenticate) routebuilder.Middleware
func CustomHeader ¶
func CustomHeader(k, v string) func(h http.HandlerFunc) http.HandlerFunc
func Headers ¶
func Headers(headers map[string]string) func(h http.HandlerFunc) http.HandlerFunc
Types ¶
type Authenticate ¶
Click to show internal directories.
Click to hide internal directories.