Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HandlerSet ¶ added in v0.0.3
type HandlerSet struct {
// contains filtered or unexported fields
}
HandlerSet wraps a variable number of http.Handlers that are executed in order
func (*HandlerSet) Append ¶ added in v0.0.3
func (h *HandlerSet) Append(handler http.Handler)
Append adds a handler to a specific HandlerSet after it's been initialized
func (*HandlerSet) Prepend ¶ added in v0.0.3
func (h *HandlerSet) Prepend(handler http.Handler)
Prepend adds a handler to a specific HandlerSet after it's been initialized
func (HandlerSet) ServeHTTP ¶ added in v0.0.3
func (h HandlerSet) ServeHTTP(w http.ResponseWriter, r *http.Request)
ServeHTTP fullfills the http.Handler interface