Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ServerShutdown ¶
func ServerShutdown()
ServerShutdown is a callback function that will be called when we tear down the openmock server
func Setup ¶
func Setup(api *operations.OpenMockAPI, customOpenmock *openmock.OpenMock) bool
Setup initialize all the handler functions, returns whether admin HTTP should be enabled
Types ¶
type CRUD ¶
type CRUD interface { // Templates GetTemplates(template.GetTemplatesParams) middleware.Responder PostTemplates(template.PostTemplatesParams) middleware.Responder DeleteTemplates(template.DeleteTemplatesParams) middleware.Responder DeleteTemplate(template.DeleteTemplateParams) middleware.Responder // Template Sets PostTemplateSet(template_set.PostTemplateSetParams) middleware.Responder DeleteTemplateSet(template_set.DeleteTemplateSetParams) middleware.Responder }
Click to show internal directories.
Click to hide internal directories.