Documentation ¶ Index ¶ func GetHandler(config []byte) (http.Handler, error) func Register(name string, fun GetHandlerFunc) type GetHandlerFunc type Handlers func (h Handlers) ServeHTTP(rw http.ResponseWriter, r *http.Request) func (h *Handlers) UnmarshalJSON(data []byte) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetHandler ¶ func GetHandler(config []byte) (http.Handler, error) func Register ¶ func Register(name string, fun GetHandlerFunc) Types ¶ type GetHandlerFunc ¶ type GetHandlerFunc func(config []byte) (http.Handler, error) type Handlers ¶ type Handlers []http.Handler func (Handlers) ServeHTTP ¶ func (h Handlers) ServeHTTP(rw http.ResponseWriter, r *http.Request) func (*Handlers) UnmarshalJSON ¶ func (h *Handlers) UnmarshalJSON(data []byte) error Source Files ¶ View all Source files handler.go Directories ¶ Show internal Expand all Path Synopsis connect expvar file header pprof proxy redirect returns slash Click to show internal directories. Click to hide internal directories.