package
0.0.0-20190507022301-b1bd2f5c3845
Repository: https://github.com/gincoinc/go.git
Documentation: pkg.go.dev

# Functions

FromRequest will populate destination fields using http.Request post values.
NewInvalidParameterError creates and returns a new InvalidParameterError.
NewMissingParameter creates and returns a new missingParameterError.
ToValues will create url.Values from source.
No description provided by the author
Write writes a response to the given http.ResponseWriter.

# Variables

InternalServerError is an error response.
InvalidParameterError is an error response.

# Structs

ErrorResponse represents error response and implements server.Response and error interfaces.
SuccessResponse can be embedded in success responses.

# Interfaces

Response represents request.
Response represents response that can be returned by a server.
SpecialValuesConvertable allows converting special values (not easily convertable): * from struct to url.Values * from http.Request to struct.