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()
Click to show internal directories.
Click to hide internal directories.