Documentation
¶
Overview ¶
Package httpd provides web service
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func APIWrapper ¶ added in v0.2.4
func APIWrapper(handler APIHandler, cfg cli.Config) func(w http.ResponseWriter, r *http.Request)
APIWrapper wraps API func including cli arg
Types ¶
type APIHandler ¶ added in v0.2.3
APIHandler represents API function w/ cli arg
type Route ¶
type Route struct { Name string Method string Path string HandlerFunc http.HandlerFunc }
Route represents a HTTP route
type TTracker ¶ added in v0.2.6
type TTracker struct {
// contains filtered or unexported fields
}
Source Files
¶
- geo.go
- httpd.go
- ping.go
- trace.go
Click to show internal directories.
Click to hide internal directories.