Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var UserAgent = "leatherman/" + version.Version
UserAgent is the canonical UserAgent string for the leatherman.
Functions ¶
func NewRequest ¶
NewRequest returns an *http.Request with the UserAgent header properly set.
Types ¶
type ClearMux ¶
func NewClearMux ¶
func NewClearMux() *ClearMux
type HandlerFunc ¶
type HandlerFunc func(http.ResponseWriter, *http.Request) error
func (HandlerFunc) ServeHTTP ¶
func (f HandlerFunc) ServeHTTP(rw http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.