Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorResponse ¶
type ErrorResponse struct {
Error string `json:"error,omitempty"`
}
ErrorResponse represents and http response when an error processing a request occurs.
type REST ¶
type REST struct {
// contains filtered or unexported fields
}
REST exposes an API using http REST endpoints.
type Router ¶
type Router interface { GET(path string, handle httprouter.Handle) PATCH(path string, handle httprouter.Handle) }
type StatsResponse ¶
StatsResponse represents a stats response.
Click to show internal directories.
Click to hide internal directories.