router

package
v0.0.0-...-c2689a6 Latest Latest
Warning

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

Go to latest
Published: May 13, 2019 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	READ_TIMEOUT  = 30 * time.Second
	WRITE_TIMEOUT = 2 * time.Hour
)

Variables

This section is empty.

Functions

func HttpServe

func HttpServe() error

Types

type Route

type Route struct {
	Path   string
	Method string
	Action func(http.ResponseWriter, *http.Request)
}

Jump to

Keyboard shortcuts

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