modules

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL