package
2.85.0+incompatible
Repository: https://github.com/transcom/mymove.git
Documentation: pkg.go.dev

# Functions

NewIsDateWeekendHoliday creates a new http.Handler for the is date weekend holiday operation.
NewIsDateWeekendHolidayBadRequest creates IsDateWeekendHolidayBadRequest with default headers values.
NewIsDateWeekendHolidayInternalServerError creates IsDateWeekendHolidayInternalServerError with default headers values.
NewIsDateWeekendHolidayNotFound creates IsDateWeekendHolidayNotFound with default headers values.
NewIsDateWeekendHolidayOK creates IsDateWeekendHolidayOK with default headers values.
NewIsDateWeekendHolidayParams creates a new IsDateWeekendHolidayParams object There are no default values defined in the spec.
NewIsDateWeekendHolidayUnauthorized creates IsDateWeekendHolidayUnauthorized with default headers values.
NewShowAvailableMoveDates creates a new http.Handler for the show available move dates operation.
NewShowAvailableMoveDatesBadRequest creates ShowAvailableMoveDatesBadRequest with default headers values.
NewShowAvailableMoveDatesForbidden creates ShowAvailableMoveDatesForbidden with default headers values.
NewShowAvailableMoveDatesInternalServerError creates ShowAvailableMoveDatesInternalServerError with default headers values.
NewShowAvailableMoveDatesOK creates ShowAvailableMoveDatesOK with default headers values.
NewShowAvailableMoveDatesParams creates a new ShowAvailableMoveDatesParams object There are no default values defined in the spec.
NewShowAvailableMoveDatesUnauthorized creates ShowAvailableMoveDatesUnauthorized with default headers values.

# Constants

IsDateWeekendHolidayBadRequestCode is the HTTP code returned for type IsDateWeekendHolidayBadRequest.
IsDateWeekendHolidayInternalServerErrorCode is the HTTP code returned for type IsDateWeekendHolidayInternalServerError.
IsDateWeekendHolidayNotFoundCode is the HTTP code returned for type IsDateWeekendHolidayNotFound.
IsDateWeekendHolidayOKCode is the HTTP code returned for type IsDateWeekendHolidayOK.
IsDateWeekendHolidayUnauthorizedCode is the HTTP code returned for type IsDateWeekendHolidayUnauthorized.
ShowAvailableMoveDatesBadRequestCode is the HTTP code returned for type ShowAvailableMoveDatesBadRequest.
ShowAvailableMoveDatesForbiddenCode is the HTTP code returned for type ShowAvailableMoveDatesForbidden.
ShowAvailableMoveDatesInternalServerErrorCode is the HTTP code returned for type ShowAvailableMoveDatesInternalServerError.
ShowAvailableMoveDatesOKCode is the HTTP code returned for type ShowAvailableMoveDatesOK.
ShowAvailableMoveDatesUnauthorizedCode is the HTTP code returned for type ShowAvailableMoveDatesUnauthorized.

# Structs

IsDateWeekendHoliday swagger:route GET /calendar/{countryCode}/is-weekend-holiday/{date} calendar isDateWeekendHoliday # Validate move date selection Utility API to determine if input date falls on weekend and/or holiday.
IsDateWeekendHolidayBadRequest The request payload is invalid.
IsDateWeekendHolidayInternalServerError A server error occurred.
IsDateWeekendHolidayNotFound The requested resource wasn't found.
IsDateWeekendHolidayOK Successfully determine if given date is weekend and/or holiday for given country.
IsDateWeekendHolidayParams contains all the bound params for the is date weekend holiday operation typically these are obtained from a http.Request swagger:parameters isDateWeekendHoliday.
IsDateWeekendHolidayUnauthorized The request was denied.
IsDateWeekendHolidayURL generates an URL for the is date weekend holiday operation.
ShowAvailableMoveDates swagger:route GET /calendar/available_move_dates calendar showAvailableMoveDates # Returns available dates for the move calendar Returns available dates for the move calendar */.
ShowAvailableMoveDatesBadRequest invalid request swagger:response showAvailableMoveDatesBadRequest */.
ShowAvailableMoveDatesForbidden user is not authorized swagger:response showAvailableMoveDatesForbidden */.
ShowAvailableMoveDatesInternalServerError internal server error swagger:response showAvailableMoveDatesInternalServerError */.
ShowAvailableMoveDatesOK List of available dates swagger:response showAvailableMoveDatesOK */.
ShowAvailableMoveDatesParams contains all the bound params for the show available move dates operation typically these are obtained from a http.Request swagger:parameters showAvailableMoveDates.
ShowAvailableMoveDatesUnauthorized request requires user authentication swagger:response showAvailableMoveDatesUnauthorized */.
ShowAvailableMoveDatesURL generates an URL for the show available move dates operation.

# Interfaces

IsDateWeekendHolidayHandler interface for that can handle valid is date weekend holiday params.
ShowAvailableMoveDatesHandler interface for that can handle valid show available move dates params.

# Type aliases

IsDateWeekendHolidayHandlerFunc turns a function with the right signature into a is date weekend holiday handler.
ShowAvailableMoveDatesHandlerFunc turns a function with the right signature into a show available move dates handler.