http

package
v0.0.0-...-b4339e2 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Routes = make([]http.Route, 0)

Extends routes variable

Functions

func AddRoutes

func AddRoutes(r ...[]http.Route)

func Listen

func Listen(host string, port int, opts *HttpOpts) error

Types

type HttpOpts

type HttpOpts struct {
	Insecure bool

	CertFile string
	KeyFile  string
	CaFile   string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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