rest

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2019 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RestServer

type RestServer struct {
	// contains filtered or unexported fields
}

func New

func New(o *option.MsOptions) *RestServer

func (*RestServer) GetHttpMux

func (r *RestServer) GetHttpMux() *http.ServeMux

func (*RestServer) Serve

func (r *RestServer) Serve(listen net.Listener)

RunServer runs HTTP/REST gateway

func (*RestServer) Shutdown

func (r *RestServer) Shutdown()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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