package
2.85.0+incompatible
Repository: https://github.com/transcom/mymove.git
Documentation: pkg.go.dev
# Functions
NewValidate creates a new http.Handler for the validate operation.
NewValidateBadRequest creates ValidateBadRequest with default headers values.
NewValidateInternalServerError creates ValidateInternalServerError with default headers values.
NewValidateOK creates ValidateOK with default headers values.
NewValidateParams creates a new ValidateParams object
There are no default values defined in the spec.
NewValidateUnauthorized creates ValidateUnauthorized with default headers values.
# Constants
ValidateBadRequestCode is the HTTP code returned for type ValidateBadRequest.
ValidateInternalServerErrorCode is the HTTP code returned for type ValidateInternalServerError.
ValidateOKCode is the HTTP code returned for type ValidateOK.
ValidateUnauthorizedCode is the HTTP code returned for type ValidateUnauthorized.
# Structs
Validate swagger:route POST /application_parameters application_parameters validate
# Searches for an application parameter by name and value, returns nil if not found
Searches for an application parameter by name and value, returns nil if not found
*/.
ValidateBadRequest invalid request
swagger:response validateBadRequest
*/.
ValidateInternalServerError server error
swagger:response validateInternalServerError
*/.
ValidateOK Application Parameters
swagger:response validateOK
*/.
ValidateParams contains all the bound params for the validate operation typically these are obtained from a http.Request
swagger:parameters validate.
ValidateUnauthorized request requires user authentication
swagger:response validateUnauthorized
*/.
ValidateURL generates an URL for the validate operation.
# Interfaces
ValidateHandler interface for that can handle valid validate params.
# Type aliases
ValidateHandlerFunc turns a function with the right signature into a validate handler.