Documentation ¶
Overview ¶
Package httpd provides web service
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func APIWrapper ¶
func APIWrapper(handler APIHandler, cfg cli.Config) func(w http.ResponseWriter, r *http.Request)
APIWrapper wraps API func including cli arg
Types ¶
type APIHandler ¶
APIHandler represents API function w/ cli arg
Click to show internal directories.
Click to hide internal directories.