server

package
v0.0.0-...-4e4842a Latest Latest
Warning

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

Go to latest
Published: May 4, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartServer

func StartServer(s Server, router http.Handler)

Types

type Server

type Server struct {
	Hostname  string
	UseHTTP   bool
	UseHTTPS  bool
	HTTPPort  int
	HTTPSPort int
	CertFile  string
	KeyFile   string
}

func NewServer

func NewServer() Server

Jump to

Keyboard shortcuts

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