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(port uint) *HttpServer
func (*HttpServer) RegisterHandler ¶
func (p *HttpServer) RegisterHandler(path string, method string, callback HFunc)
register http handler, path not need add '/'
func (*HttpServer) Run ¶
func (p *HttpServer) Run()
Click to show internal directories.
Click to hide internal directories.