Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleMethod ¶
func HandleMethod(w http.ResponseWriter, r *http.Request)
Types ¶
type Response ¶
Response is returned by API handlers
func NewClientError ¶
NewClientError is returned from handlers when client has provided invalid input
func NewRemoteError ¶
NewRemoteError is returned from handlers when there's been a remote service error
func NewResponse ¶
func NewResponse(d interface{}) Response
NewResponse is returned from handlers when client has provided invalid input
Click to show internal directories.
Click to hide internal directories.