package
2.85.0+incompatible
Repository: https://github.com/transcom/mymove.git
Documentation: pkg.go.dev
# Functions
NewCreateWebhookNotification creates a new http.Handler for the create webhook notification operation.
NewCreateWebhookNotificationCreated creates CreateWebhookNotificationCreated with default headers values.
NewCreateWebhookNotificationInternalServerError creates CreateWebhookNotificationInternalServerError with default headers values.
NewCreateWebhookNotificationParams creates a new CreateWebhookNotificationParams object
There are no default values defined in the spec.
NewCreateWebhookNotificationUnprocessableEntity creates CreateWebhookNotificationUnprocessableEntity with default headers values.
NewReceiveWebhookNotification creates a new http.Handler for the receive webhook notification operation.
NewReceiveWebhookNotificationBadRequest creates ReceiveWebhookNotificationBadRequest with default headers values.
NewReceiveWebhookNotificationForbidden creates ReceiveWebhookNotificationForbidden with default headers values.
NewReceiveWebhookNotificationInternalServerError creates ReceiveWebhookNotificationInternalServerError with default headers values.
NewReceiveWebhookNotificationOK creates ReceiveWebhookNotificationOK with default headers values.
NewReceiveWebhookNotificationParams creates a new ReceiveWebhookNotificationParams object
There are no default values defined in the spec.
NewReceiveWebhookNotificationUnauthorized creates ReceiveWebhookNotificationUnauthorized with default headers values.
# Constants
CreateWebhookNotificationCreatedCode is the HTTP code returned for type CreateWebhookNotificationCreated.
CreateWebhookNotificationInternalServerErrorCode is the HTTP code returned for type CreateWebhookNotificationInternalServerError.
CreateWebhookNotificationUnprocessableEntityCode is the HTTP code returned for type CreateWebhookNotificationUnprocessableEntity.
ReceiveWebhookNotificationBadRequestCode is the HTTP code returned for type ReceiveWebhookNotificationBadRequest.
ReceiveWebhookNotificationForbiddenCode is the HTTP code returned for type ReceiveWebhookNotificationForbidden.
ReceiveWebhookNotificationInternalServerErrorCode is the HTTP code returned for type ReceiveWebhookNotificationInternalServerError.
ReceiveWebhookNotificationOKCode is the HTTP code returned for type ReceiveWebhookNotificationOK.
ReceiveWebhookNotificationUnauthorizedCode is the HTTP code returned for type ReceiveWebhookNotificationUnauthorized.
# Structs
CreateWebhookNotification swagger:route POST /webhook-notifications webhook createWebhookNotification
# Test endpoint for creating webhook notifications
This endpoint creates a webhook notification in the database.
CreateWebhookNotificationCreated Successful creation
swagger:response createWebhookNotificationCreated
*/.
CreateWebhookNotificationInternalServerError A server error occurred.
CreateWebhookNotificationParams contains all the bound params for the create webhook notification operation typically these are obtained from a http.Request
swagger:parameters createWebhookNotification.
CreateWebhookNotificationUnprocessableEntity The payload was unprocessable.
CreateWebhookNotificationURL generates an URL for the create webhook notification operation.
ReceiveWebhookNotification swagger:route POST /webhook-notify webhook receiveWebhookNotification
# Test endpoint for receiving messages from our own webhook-client
This endpoint receives a notification that matches the webhook notification model.
ReceiveWebhookNotificationBadRequest The request payload is invalid.
ReceiveWebhookNotificationForbidden The request was denied.
ReceiveWebhookNotificationInternalServerError A server error occurred.
ReceiveWebhookNotificationOK Received notification
swagger:response receiveWebhookNotificationOK
*/.
ReceiveWebhookNotificationParams contains all the bound params for the receive webhook notification operation typically these are obtained from a http.Request
swagger:parameters receiveWebhookNotification.
ReceiveWebhookNotificationUnauthorized The request was denied.
ReceiveWebhookNotificationURL generates an URL for the receive webhook notification operation.
# Interfaces
CreateWebhookNotificationHandler interface for that can handle valid create webhook notification params.
ReceiveWebhookNotificationHandler interface for that can handle valid receive webhook notification params.
# Type aliases
CreateWebhookNotificationHandlerFunc turns a function with the right signature into a create webhook notification handler.
ReceiveWebhookNotificationHandlerFunc turns a function with the right signature into a receive webhook notification handler.