Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Flags ¶
type Flags struct {
Prefix string `long:"stats_prefix" default:"/stats" description:"URL prefix to handle"`
}
Flags defines local application flags
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)
The middleware handler
Click to show internal directories.
Click to hide internal directories.