Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WrappedHandleFunc ¶ added in v0.1.0
func WrappedHandleFunc(fun func(w http.ResponseWriter, r *http.Request)) func(http.ResponseWriter, *http.Request, httprouter.Params)
WrappedHandleFunc wraps the usual http handler function into a function as expected by httprouter
Types ¶
type API ¶
type API struct { Router *httprouter.Router // contains filtered or unexported fields }
API represents the implementation of the HTTP api of sokar
Click to show internal directories.
Click to hide internal directories.