Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Flags ¶
type Flags struct {
Title string `long:"sample_title" default:"Sample page" description:"Sample page title"`
}
Flags defines local application flags
type Info ¶
type Info struct{ pagesample.Attr }
type Middleware ¶
Middleware is a struct that has a ServeHTTP method
func (*Middleware) ServeHTTP ¶
func (mw *Middleware) ServeHTTP(w http.ResponseWriter, r *http.Request, next http.HandlerFunc)
ServeHTTP is the middleware handler
Click to show internal directories.
Click to hide internal directories.