package
0.1.2
Repository: https://github.com/graymeta/gmkit.git
Documentation: pkg.go.dev

# Functions

Decode decodes the body of a request into the specified object.
Deprecated adds a header to indicate the particular endpoint is deprecated.
Header adds a Header to the response.
NewResponder makes a new Responder object.

# Constants

HeaderAPIVersion is the canonical name of the HTTP header key that reports the API version.

# Structs

ErrJSON error is returned by Decode when the incoming JSON unmarshaling fails.
ErrorResponse is the body of an Error served up by Err.
ErrValidationFailed is returned by Decode if the object is not valid.
Responder writes API responses.

# Interfaces

OK checks to see if an object is valid or not.

# Type aliases

Option functions provide a means for manipulating things like adding additional headers to responses.