Documentation ¶
Index ¶
Constants ¶
View Source
const ( GET = "GET" POST = "POST" HEAD = "HEAD" OPTIONS = "OPTIONS" PATCH = "PATCH" PUT = "PUT" DELETE = "DELETE" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpServer ¶
type HttpServer struct { Server *http.Server Router *httprouter.Router HandlerFuncs *[]httprouter.Handle }
func (*HttpServer) AddHandle ¶
func (s *HttpServer) AddHandle(method string, path string, handle httprouter.Handle)
Click to show internal directories.
Click to hide internal directories.