http

package
v0.1.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2018 License: Apache-2.0 Imports: 16 Imported by: 3

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