server

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(p api.Provider, root string) *http.ServeMux

New prepares and returns an HTTP ServeMux bound to the Goggles API and static assets.

The root parameter should be to the parent of the running binary where assets can be found. For example, in the following case "/foo/bar" would be the root.

/foo/bar

/goggles
/static/...

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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