Documentation ¶
Index ¶
- func Compress(h http.Handler) http.Handler
- func Static(h http.Handler) http.Handler
- type Handler
- func AcceptJSON(h Handler) Handler
- func CSRF(h Handler) Handler
- func Captcha(h Handler) Handler
- func FetchFlash(h Handler) Handler
- func FetchSession(h Handler) Handler
- func RequireAccount(h Handler) Handler
- func RequireLogout(h Handler) Handler
- func SecureHeaders(h Handler) Handler
- func SessionTimeout(h Handler) Handler
- func VerifyCSRF(h Handler) Handler
- type Middleware
- type Pipeline
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
func AcceptJSON ¶
func FetchFlash ¶
func FetchSession ¶
func RequireAccount ¶
func RequireLogout ¶
func SecureHeaders ¶
func SessionTimeout ¶
func VerifyCSRF ¶
type Middleware ¶
type Pipeline ¶
type Pipeline []Middleware
func InternalStats ¶
func InternalStats() Pipeline
func (Pipeline) With ¶
func (p Pipeline) With(m ...Middleware) Pipeline
Click to show internal directories.
Click to hide internal directories.