Documentation
¶
Overview ¶
Package v1 the version 1 api
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HandleFunc ¶
HandleFunc handle error
func (HandleFunc) ServeHTTP ¶
func (h HandleFunc) ServeHTTP(w http.ResponseWriter, r *http.Request)
ServeHTTP handler responds to an HTTP request.
type Response ¶
type Response struct {
http.ResponseWriter
// contains filtered or unexported fields
}
Response the http.ResponseWriter wrapper
func (*Response) WriteHeader ¶
WriteHeader sends an HTTP response header with the provided status code.
Click to show internal directories.
Click to hide internal directories.