package
2.85.0+incompatible
Repository: https://github.com/transcom/mymove.git
Documentation: pkg.go.dev
# Functions
NewIsLoggedInUser creates a new http.Handler for the is logged in user operation.
NewIsLoggedInUserBadRequest creates IsLoggedInUserBadRequest with default headers values.
NewIsLoggedInUserInternalServerError creates IsLoggedInUserInternalServerError with default headers values.
NewIsLoggedInUserOK creates IsLoggedInUserOK with default headers values.
NewIsLoggedInUserParams creates a new IsLoggedInUserParams object
There are no default values defined in the spec.
NewShowLoggedInUser creates a new http.Handler for the show logged in user operation.
NewShowLoggedInUserBadRequest creates ShowLoggedInUserBadRequest with default headers values.
NewShowLoggedInUserInternalServerError creates ShowLoggedInUserInternalServerError with default headers values.
NewShowLoggedInUserOK creates ShowLoggedInUserOK with default headers values.
NewShowLoggedInUserParams creates a new ShowLoggedInUserParams object
There are no default values defined in the spec.
NewShowLoggedInUserUnauthorized creates ShowLoggedInUserUnauthorized with default headers values.
# Constants
IsLoggedInUserBadRequestCode is the HTTP code returned for type IsLoggedInUserBadRequest.
IsLoggedInUserInternalServerErrorCode is the HTTP code returned for type IsLoggedInUserInternalServerError.
IsLoggedInUserOKCode is the HTTP code returned for type IsLoggedInUserOK.
ShowLoggedInUserBadRequestCode is the HTTP code returned for type ShowLoggedInUserBadRequest.
ShowLoggedInUserInternalServerErrorCode is the HTTP code returned for type ShowLoggedInUserInternalServerError.
ShowLoggedInUserOKCode is the HTTP code returned for type ShowLoggedInUserOK.
ShowLoggedInUserUnauthorizedCode is the HTTP code returned for type ShowLoggedInUserUnauthorized.
# Structs
IsLoggedInUser swagger:route GET /users/is_logged_in users isLoggedInUser
# Returns boolean as to whether the user is logged in
Returns boolean as to whether the user is logged in
*/.
IsLoggedInUserBadRequest invalid request
swagger:response isLoggedInUserBadRequest
*/.
IsLoggedInUserInternalServerError server error
swagger:response isLoggedInUserInternalServerError
*/.
IsLoggedInUserOK Currently logged in user
swagger:response isLoggedInUserOK
*/.
IsLoggedInUserOKBody is logged in user o k body
swagger:model IsLoggedInUserOKBody.
IsLoggedInUserParams contains all the bound params for the is logged in user operation typically these are obtained from a http.Request
swagger:parameters isLoggedInUser.
IsLoggedInUserURL generates an URL for the is logged in user operation.
ShowLoggedInUser swagger:route GET /users/logged_in users showLoggedInUser
# Returns the user info for the currently logged in user
Returns the user info for the currently logged in user
*/.
ShowLoggedInUserBadRequest invalid request
swagger:response showLoggedInUserBadRequest
*/.
ShowLoggedInUserInternalServerError server error
swagger:response showLoggedInUserInternalServerError
*/.
ShowLoggedInUserOK Currently logged in user
swagger:response showLoggedInUserOK
*/.
ShowLoggedInUserParams contains all the bound params for the show logged in user operation typically these are obtained from a http.Request
swagger:parameters showLoggedInUser.
ShowLoggedInUserUnauthorized request requires user authentication
swagger:response showLoggedInUserUnauthorized
*/.
ShowLoggedInUserURL generates an URL for the show logged in user operation.
# Interfaces
IsLoggedInUserHandler interface for that can handle valid is logged in user params.
ShowLoggedInUserHandler interface for that can handle valid show logged in user params.
# Type aliases
IsLoggedInUserHandlerFunc turns a function with the right signature into a is logged in user handler.
ShowLoggedInUserHandlerFunc turns a function with the right signature into a show logged in user handler.