web

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2017 License: MIT Imports: 9 Imported by: 0

Documentation

Index

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 added in v0.2.0

func (web Web) Index() func(http.ResponseWriter, *http.Request)

func (Web) Static added in v0.2.0

func (web Web) Static(pattern string) func(http.ResponseWriter, *http.Request)

Jump to

Keyboard shortcuts

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