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

# Functions

NewDeleteTemplate creates a new http.Handler for the delete template operation.
NewDeleteTemplateBadRequest creates DeleteTemplateBadRequest with default headers values.
NewDeleteTemplateDefault creates DeleteTemplateDefault with default headers values.
NewDeleteTemplateNoContent creates DeleteTemplateNoContent with default headers values.
NewDeleteTemplateNotFound creates DeleteTemplateNotFound with default headers values.
NewDeleteTemplateParams creates a new DeleteTemplateParams object no default values defined in spec.
NewDeleteTemplates creates a new http.Handler for the delete templates operation.
NewDeleteTemplatesDefault creates DeleteTemplatesDefault with default headers values.
NewDeleteTemplatesNoContent creates DeleteTemplatesNoContent with default headers values.
NewDeleteTemplatesParams creates a new DeleteTemplatesParams object no default values defined in spec.
NewGetTemplates creates a new http.Handler for the get templates operation.
NewGetTemplatesDefault creates GetTemplatesDefault with default headers values.
NewGetTemplatesOK creates GetTemplatesOK with default headers values.
NewGetTemplatesParams creates a new GetTemplatesParams object no default values defined in spec.
NewPostTemplates creates a new http.Handler for the post templates operation.
NewPostTemplatesBadRequest creates PostTemplatesBadRequest with default headers values.
NewPostTemplatesDefault creates PostTemplatesDefault with default headers values.
NewPostTemplatesOK creates PostTemplatesOK with default headers values.
NewPostTemplatesParams creates a new PostTemplatesParams object no default values defined in spec.

# Constants

DeleteTemplateBadRequestCode is the HTTP code returned for type DeleteTemplateBadRequest.
DeleteTemplateNoContentCode is the HTTP code returned for type DeleteTemplateNoContent.
DeleteTemplateNotFoundCode is the HTTP code returned for type DeleteTemplateNotFound.
DeleteTemplatesNoContentCode is the HTTP code returned for type DeleteTemplatesNoContent.
GetTemplatesOKCode is the HTTP code returned for type GetTemplatesOK.
PostTemplatesBadRequestCode is the HTTP code returned for type PostTemplatesBadRequest.
PostTemplatesOKCode is the HTTP code returned for type PostTemplatesOK.

# Structs

DeleteTemplate swagger:route DELETE /templates/{templateKey} template deleteTemplate delete a specific template that has been added by key */.
DeleteTemplateBadRequest invalid key swagger:response deleteTemplateBadRequest */.
DeleteTemplateDefault server error swagger:response deleteTemplateDefault */.
DeleteTemplateNoContent when successfully deleted swagger:response deleteTemplateNoContent */.
DeleteTemplateNotFound not found swagger:response deleteTemplateNotFound */.
DeleteTemplateParams contains all the bound params for the delete template operation typically these are obtained from a http.Request swagger:parameters deleteTemplate.
DeleteTemplates swagger:route DELETE /templates template deleteTemplates Deletes any templates that have been added to the admin endpoint (without a setKey) */.
DeleteTemplatesDefault server error swagger:response deleteTemplatesDefault */.
DeleteTemplatesNoContent when successfully deleted swagger:response deleteTemplatesNoContent */.
DeleteTemplatesParams contains all the bound params for the delete templates operation typically these are obtained from a http.Request swagger:parameters deleteTemplates.
DeleteTemplatesURL generates an URL for the delete templates operation.
DeleteTemplateURL generates an URL for the delete template operation.
GetTemplates swagger:route GET /templates template getTemplates Get all templates in the loaded model */.
GetTemplatesDefault generic error response swagger:response getTemplatesDefault */.
GetTemplatesOK all the templates swagger:response getTemplatesOK */.
GetTemplatesParams contains all the bound params for the get templates operation typically these are obtained from a http.Request swagger:parameters getTemplates.
GetTemplatesURL generates an URL for the get templates operation.
PostTemplates swagger:route POST /templates template postTemplates Modify templates in the base model by POSTing new ones */.
PostTemplatesBadRequest if incoming templates were invalid swagger:response postTemplatesBadRequest */.
PostTemplatesDefault generic error response swagger:response postTemplatesDefault */.
PostTemplatesOK returns the successfully posted templates swagger:response postTemplatesOK */.
PostTemplatesParams contains all the bound params for the post templates operation typically these are obtained from a http.Request swagger:parameters postTemplates.
PostTemplatesURL generates an URL for the post templates operation.

# Interfaces

DeleteTemplateHandler interface for that can handle valid delete template params.
DeleteTemplatesHandler interface for that can handle valid delete templates params.
GetTemplatesHandler interface for that can handle valid get templates params.
PostTemplatesHandler interface for that can handle valid post templates params.

# Type aliases

DeleteTemplateHandlerFunc turns a function with the right signature into a delete template handler.
DeleteTemplatesHandlerFunc turns a function with the right signature into a delete templates handler.
GetTemplatesHandlerFunc turns a function with the right signature into a get templates handler.
PostTemplatesHandlerFunc turns a function with the right signature into a post templates handler.