package
0.2.0-alpha
Repository: https://github.com/vmware-archive/dispatch.git
Documentation: pkg.go.dev

# Functions

NewEmitEvent creates a new http.Handler for the emit event operation.
NewEmitEventBadRequest creates EmitEventBadRequest with default headers values.
NewEmitEventDefault creates EmitEventDefault with default headers values.
NewEmitEventForbidden creates EmitEventForbidden with default headers values.
NewEmitEventOK creates EmitEventOK with default headers values.
NewEmitEventParams creates a new EmitEventParams object no default values defined in spec.
NewEmitEventUnauthorized creates EmitEventUnauthorized with default headers values.

# Constants

EmitEventBadRequestCode is the HTTP code returned for type EmitEventBadRequest.
EmitEventForbiddenCode is the HTTP code returned for type EmitEventForbidden.
EmitEventOKCode is the HTTP code returned for type EmitEventOK.
EmitEventUnauthorizedCode is the HTTP code returned for type EmitEventUnauthorized.

# Structs

EmitEvent swagger:route POST / events emitEvent Emit an event */.
EmitEventBadRequest Invalid input swagger:response emitEventBadRequest */.
EmitEventDefault Unknown error swagger:response emitEventDefault */.
EmitEventForbidden access to this resource is forbidden swagger:response emitEventForbidden */.
EmitEventOK Event emitted swagger:response emitEventOK */.
EmitEventParams contains all the bound params for the emit event operation typically these are obtained from a http.Request swagger:parameters emitEvent.
EmitEventUnauthorized Unauthorized Request swagger:response emitEventUnauthorized */.
EmitEventURL generates an URL for the emit event operation.

# Interfaces

EmitEventHandler interface for that can handle valid emit event params.

# Type aliases

EmitEventHandlerFunc turns a function with the right signature into a emit event handler.