Documentation ¶ Index ¶ Variables type Web func CreateWeb(cfg *config.Config, r http.Handler, asset func(string) ([]byte, error)) *Web func (web Web) Index() func(http.ResponseWriter, *http.Request) func (web Web) Static(pattern string) func(http.ResponseWriter, *http.Request) Constants ¶ This section is empty. Variables ¶ View Source var APIHost string View Source var WebPath string Functions ¶ This section is empty. Types ¶ type Web ¶ type Web struct { // contains filtered or unexported fields } func CreateWeb ¶ func CreateWeb(cfg *config.Config, r http.Handler, asset func(string) ([]byte, error)) *Web func (Web) Index ¶ func (web Web) Index() func(http.ResponseWriter, *http.Request) func (Web) Static ¶ func (web Web) Static(pattern string) func(http.ResponseWriter, *http.Request) Source Files ¶ View all Source files web.go Click to show internal directories. Click to hide internal directories.