server

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2016 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IndexTemplate is the go template for the index page.
	IndexTemplate = `` /* 2175-byte string literal not displayed */

	// IndexJS is the javascript for the main index page.
	IndexJS = `` /* 136-byte string literal not displayed */

	// IndexCSS is the css for the main index page.
	IndexCSS = `` /* 1229-byte string literal not displayed */

)

Functions

func Run

func Run(port int, cert string, key string, provider string) error

Run sets up and starts the http server. It requires a valid port to bind to, and the default provider to use for web searches.

Types

This section is empty.

Jump to

Keyboard shortcuts

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