Documentation ¶
Index ¶
- func Adapt(h http.Handler, adapters ...Adapter) http.Handler
- func NewClient() mantra.Service
- type Adapter
- func BasicAuthentication(username, password, realm string) Adapter
- func Cache() Adapter
- func CloudflareAuthentication(authDomain, policyAUD string) Adapter
- func Header(key, value string) Adapter
- func Logging(l *log.Logger) Adapter
- func PProf() Adapter
- func Timing(l *log.Logger) Adapter
- func TurbolinksRedirect(store sessions.Store, sessionName string, location string) Adapter
- type RoutesFunc
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Adapt ¶
Adapt applies the given adapters
Types ¶
Click to show internal directories.
Click to hide internal directories.