Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpServer ¶
type HttpServer struct {
// contains filtered or unexported fields
}
func NewHttpServer ¶
func NewHttpServer() *HttpServer
func (*HttpServer) RegisterHandler ¶
func (hs *HttpServer) RegisterHandler(route, method string, handler http.Handler)
func (*HttpServer) Start ¶
func (hs *HttpServer) Start(addr, port string) error
Click to show internal directories.
Click to hide internal directories.