Documentation ¶ Index ¶ func New(p api.Provider, root string) *http.ServeMux 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. Source Files ¶ View all Source files server.go Directories ¶ Show internal Expand all Path Synopsis api Click to show internal directories. Click to hide internal directories.