package
0.3.7
Repository: https://github.com/checkr/openmock.git
Documentation: pkg.go.dev

# Functions

NewDeleteTemplateSet creates a new http.Handler for the delete template set operation.
NewDeleteTemplateSetDefault creates DeleteTemplateSetDefault with default headers values.
NewDeleteTemplateSetNoContent creates DeleteTemplateSetNoContent with default headers values.
NewDeleteTemplateSetParams creates a new DeleteTemplateSetParams object no default values defined in spec.
NewPostTemplateSet creates a new http.Handler for the post template set operation.
NewPostTemplateSetBadRequest creates PostTemplateSetBadRequest with default headers values.
NewPostTemplateSetDefault creates PostTemplateSetDefault with default headers values.
NewPostTemplateSetOK creates PostTemplateSetOK with default headers values.
NewPostTemplateSetParams creates a new PostTemplateSetParams object no default values defined in spec.

# Constants

DeleteTemplateSetNoContentCode is the HTTP code returned for type DeleteTemplateSetNoContent.
PostTemplateSetBadRequestCode is the HTTP code returned for type PostTemplateSetBadRequest.
PostTemplateSetOKCode is the HTTP code returned for type PostTemplateSetOK.

# Structs

DeleteTemplateSet swagger:route DELETE /template_sets/{setKey} template_set deleteTemplateSet deletes specified template set */.
DeleteTemplateSetDefault server error swagger:response deleteTemplateSetDefault */.
DeleteTemplateSetNoContent when successfully deleted swagger:response deleteTemplateSetNoContent */.
DeleteTemplateSetParams contains all the bound params for the delete template set operation typically these are obtained from a http.Request swagger:parameters deleteTemplateSet.
DeleteTemplateSetURL generates an URL for the delete template set operation.
PostTemplateSet swagger:route POST /template_sets/{setKey} template_set postTemplateSet creates / overrides the template set with setKey to the body contents */.
PostTemplateSetBadRequest if incoming templates were invalid swagger:response postTemplateSetBadRequest */.
PostTemplateSetDefault generic error response swagger:response postTemplateSetDefault */.
PostTemplateSetOK returns the successfully posted templates swagger:response postTemplateSetOK */.
PostTemplateSetParams contains all the bound params for the post template set operation typically these are obtained from a http.Request swagger:parameters postTemplateSet.
PostTemplateSetURL generates an URL for the post template set operation.

# Interfaces

DeleteTemplateSetHandler interface for that can handle valid delete template set params.
PostTemplateSetHandler interface for that can handle valid post template set params.

# Type aliases

DeleteTemplateSetHandlerFunc turns a function with the right signature into a delete template set handler.
PostTemplateSetHandlerFunc turns a function with the right signature into a post template set handler.