package
0.0.0-20220508075453-acbd0ad6c247
Repository: https://github.com/ez-deploy/ezdeploy.git
Documentation: pkg.go.dev
# Functions
NewCreateUser creates a new http.Handler for the create user operation.
NewCreateUserConflict creates CreateUserConflict with default headers values.
NewCreateUserCreated creates CreateUserCreated with default headers values.
NewCreateUserInternalServerError creates CreateUserInternalServerError with default headers values.
NewCreateUserParams creates a new CreateUserParams object
There are no default values defined in the spec.
NewGetUser creates a new http.Handler for the get user operation.
NewGetUserInternalServerError creates GetUserInternalServerError with default headers values.
NewGetUserOK creates GetUserOK with default headers values.
NewGetUserParams creates a new GetUserParams object
There are no default values defined in the spec.
NewLogin creates a new http.Handler for the login operation.
NewLoginInternalServerError creates LoginInternalServerError with default headers values.
NewLoginOK creates LoginOK with default headers values.
NewLoginParams creates a new LoginParams object
There are no default values defined in the spec.
NewLoginUnauthorized creates LoginUnauthorized with default headers values.
NewLogout creates a new http.Handler for the logout operation.
NewLogoutInternalServerError creates LogoutInternalServerError with default headers values.
NewLogoutOK creates LogoutOK with default headers values.
NewLogoutParams creates a new LogoutParams object
There are no default values defined in the spec.
NewLogoutUnauthorized creates LogoutUnauthorized with default headers values.
NewWhoami creates a new http.Handler for the whoami operation.
NewWhoamiOK creates WhoamiOK with default headers values.
NewWhoamiParams creates a new WhoamiParams object
There are no default values defined in the spec.
# Constants
CreateUserConflictCode is the HTTP code returned for type CreateUserConflict.
CreateUserCreatedCode is the HTTP code returned for type CreateUserCreated.
CreateUserInternalServerErrorCode is the HTTP code returned for type CreateUserInternalServerError.
GetUserInternalServerErrorCode is the HTTP code returned for type GetUserInternalServerError.
GetUserOKCode is the HTTP code returned for type GetUserOK.
LoginInternalServerErrorCode is the HTTP code returned for type LoginInternalServerError.
LoginOKCode is the HTTP code returned for type LoginOK.
LoginUnauthorizedCode is the HTTP code returned for type LoginUnauthorized.
LogoutInternalServerErrorCode is the HTTP code returned for type LogoutInternalServerError.
LogoutOKCode is the HTTP code returned for type LogoutOK.
LogoutUnauthorizedCode is the HTTP code returned for type LogoutUnauthorized.
WhoamiOKCode is the HTTP code returned for type WhoamiOK.
# Structs
CreateUser swagger:route POST /user/create Identity createUser
Create User
*/.
CreateUserConflict Create User Failed, cause user exist
swagger:response createUserConflict
*/.
CreateUserCreated Create User Success
swagger:response createUserCreated
*/.
CreateUserInternalServerError Server Error
swagger:response createUserInternalServerError
*/.
CreateUserParams contains all the bound params for the create user operation typically these are obtained from a http.Request
swagger:parameters CreateUser.
CreateUserURL generates an URL for the create user operation.
GetUser swagger:route GET /user/get Identity getUser
Get User Info by id
*/.
GetUserInternalServerError Server Error
swagger:response getUserInternalServerError
*/.
GetUserOK Get User Success
swagger:response getUserOK
*/.
GetUserParams contains all the bound params for the get user operation typically these are obtained from a http.Request
swagger:parameters GetUser.
GetUserURL generates an URL for the get user operation.
Login swagger:route POST /user/login Identity login
User Login
*/.
LoginInternalServerError Server Error
swagger:response loginInternalServerError
*/.
LoginOK Login Success, return user info.
LoginParams contains all the bound params for the login operation typically these are obtained from a http.Request
swagger:parameters Login.
LoginUnauthorized Login Failed
swagger:response loginUnauthorized
*/.
LoginURL generates an URL for the login operation.
Logout swagger:route GET /user/logout Identity logout
Logout
*/.
LogoutInternalServerError Server Error
swagger:response logoutInternalServerError
*/.
LogoutOK Logout Success
swagger:response logoutOK
*/.
LogoutParams contains all the bound params for the logout operation typically these are obtained from a http.Request
swagger:parameters Logout.
LogoutUnauthorized Logout Failed, no login
swagger:response logoutUnauthorized
*/.
LogoutURL generates an URL for the logout operation.
Whoami swagger:route GET /whoami Identity whoami
Get Current User's Info
*/.
WhoamiOK Get Current User's Info Success
swagger:response whoamiOK
*/.
WhoamiParams contains all the bound params for the whoami operation typically these are obtained from a http.Request
swagger:parameters Whoami.
WhoamiURL generates an URL for the whoami operation.
# Interfaces
CreateUserHandler interface for that can handle valid create user params.
GetUserHandler interface for that can handle valid get user params.
LoginHandler interface for that can handle valid login params.
LogoutHandler interface for that can handle valid logout params.
WhoamiHandler interface for that can handle valid whoami params.
# Type aliases
CreateUserHandlerFunc turns a function with the right signature into a create user handler.
GetUserHandlerFunc turns a function with the right signature into a get user handler.
LoginHandlerFunc turns a function with the right signature into a login handler.
LogoutHandlerFunc turns a function with the right signature into a logout handler.
WhoamiHandlerFunc turns a function with the right signature into a whoami handler.