graceful

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2017 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPServer

type HTTPServer struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewHTTPServer

func NewHTTPServer(net, addr string, mw ...middleware.Constructor) *HTTPServer

func (*HTTPServer) Error

func (s *HTTPServer) Error() error

func (*HTTPServer) Handle

func (s *HTTPServer) Handle(method, route string, handler http.HandlerFunc)

func (*HTTPServer) Serve

func (s *HTTPServer) Serve() <-chan struct{}

func (*HTTPServer) Stop

func (s *HTTPServer) Stop()

Jump to

Keyboard shortcuts

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