Documentation ¶
Index ¶
Constants ¶
View Source
const ( PARAM_TYPE_BODY = iota PARAM_TYPE_INT PARAM_TYPE_FLOAT64 PARAM_TYPE_STRING )
View Source
const ( PARAM_FROM_QUERY = iota PARAM_FROM_BODY PARAM_FROM_ALL )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPServer ¶
func NewHTTPServer ¶
func NewHTTPServer(port int) *HTTPServer
func (HTTPServer) RegistFunctions ¶
func (server HTTPServer) RegistFunctions(group FuncGroup)
func (HTTPServer) RegistGroups ¶
func (server HTTPServer) RegistGroups(groups []FuncGroup)
func (HTTPServer) Start ¶
func (server HTTPServer) Start() error
func (HTTPServer) Stop ¶
func (server HTTPServer) Stop() error
Click to show internal directories.
Click to hide internal directories.