package
0.19.0
Repository: https://github.com/killbill/go-swagger.git
Documentation: pkg.go.dev

# Functions

NewCreateUser creates a new http.Handler for the create user operation.
NewCreateUserDefault creates CreateUserDefault with default headers values.
NewCreateUserParams creates a new CreateUserParams object no default values defined in spec.
NewCreateUsersWithArrayInput creates a new http.Handler for the create users with array input operation.
NewCreateUsersWithArrayInputDefault creates CreateUsersWithArrayInputDefault with default headers values.
NewCreateUsersWithArrayInputParams creates a new CreateUsersWithArrayInputParams object no default values defined in spec.
NewCreateUsersWithListInput creates a new http.Handler for the create users with list input operation.
NewCreateUsersWithListInputDefault creates CreateUsersWithListInputDefault with default headers values.
NewCreateUsersWithListInputParams creates a new CreateUsersWithListInputParams object no default values defined in spec.
NewDeleteUser creates a new http.Handler for the delete user operation.
NewDeleteUserBadRequest creates DeleteUserBadRequest with default headers values.
NewDeleteUserNotFound creates DeleteUserNotFound with default headers values.
NewDeleteUserParams creates a new DeleteUserParams object no default values defined in spec.
NewGetUserByName creates a new http.Handler for the get user by name operation.
NewGetUserByNameBadRequest creates GetUserByNameBadRequest with default headers values.
NewGetUserByNameNotFound creates GetUserByNameNotFound with default headers values.
NewGetUserByNameOK creates GetUserByNameOK with default headers values.
NewGetUserByNameParams creates a new GetUserByNameParams object no default values defined in spec.
NewLoginUser creates a new http.Handler for the login user operation.
NewLoginUserBadRequest creates LoginUserBadRequest with default headers values.
NewLoginUserOK creates LoginUserOK with default headers values.
NewLoginUserParams creates a new LoginUserParams object no default values defined in spec.
NewLogoutUser creates a new http.Handler for the logout user operation.
NewLogoutUserDefault creates LogoutUserDefault with default headers values.
NewLogoutUserParams creates a new LogoutUserParams object no default values defined in spec.
NewUpdateUser creates a new http.Handler for the update user operation.
NewUpdateUserBadRequest creates UpdateUserBadRequest with default headers values.
NewUpdateUserNotFound creates UpdateUserNotFound with default headers values.
NewUpdateUserParams creates a new UpdateUserParams object no default values defined in spec.

# Constants

DeleteUserBadRequestCode is the HTTP code returned for type DeleteUserBadRequest.
DeleteUserNotFoundCode is the HTTP code returned for type DeleteUserNotFound.
GetUserByNameBadRequestCode is the HTTP code returned for type GetUserByNameBadRequest.
GetUserByNameNotFoundCode is the HTTP code returned for type GetUserByNameNotFound.
GetUserByNameOKCode is the HTTP code returned for type GetUserByNameOK.
LoginUserBadRequestCode is the HTTP code returned for type LoginUserBadRequest.
LoginUserOKCode is the HTTP code returned for type LoginUserOK.
UpdateUserBadRequestCode is the HTTP code returned for type UpdateUserBadRequest.
UpdateUserNotFoundCode is the HTTP code returned for type UpdateUserNotFound.

# Structs

CreateUser swagger:route POST /users user createUser Create user This can only be done by the logged in user.
CreateUserDefault successful operation swagger:response createUserDefault */.
CreateUserParams contains all the bound params for the create user operation typically these are obtained from a http.Request swagger:parameters createUser.
CreateUsersWithArrayInput swagger:route POST /users/createWithArray user createUsersWithArrayInput Creates list of users with given input array */.
CreateUsersWithArrayInputDefault successful operation swagger:response createUsersWithArrayInputDefault */.
CreateUsersWithArrayInputParams contains all the bound params for the create users with array input operation typically these are obtained from a http.Request swagger:parameters createUsersWithArrayInput.
CreateUsersWithArrayInputURL generates an URL for the create users with array input operation.
CreateUsersWithListInput swagger:route POST /users/createWithList user createUsersWithListInput Creates list of users with given input array */.
CreateUsersWithListInputDefault successful operation swagger:response createUsersWithListInputDefault */.
CreateUsersWithListInputParams contains all the bound params for the create users with list input operation typically these are obtained from a http.Request swagger:parameters createUsersWithListInput.
CreateUsersWithListInputURL generates an URL for the create users with list input operation.
CreateUserURL generates an URL for the create user operation.
DeleteUser swagger:route DELETE /users/{username} user deleteUser Delete user This can only be done by the logged in user.
DeleteUserBadRequest Invalid username supplied swagger:response deleteUserBadRequest */.
DeleteUserNotFound User not found swagger:response deleteUserNotFound */.
DeleteUserParams contains all the bound params for the delete user operation typically these are obtained from a http.Request swagger:parameters deleteUser.
DeleteUserURL generates an URL for the delete user operation.
GetUserByName swagger:route GET /users/{username} user getUserByName Get user by user name */.
GetUserByNameBadRequest Invalid username supplied swagger:response getUserByNameBadRequest */.
GetUserByNameNotFound User not found swagger:response getUserByNameNotFound */.
GetUserByNameOK successful operation swagger:response getUserByNameOK */.
GetUserByNameParams contains all the bound params for the get user by name operation typically these are obtained from a http.Request swagger:parameters getUserByName.
GetUserByNameURL generates an URL for the get user by name operation.
LoginUser swagger:route GET /users/login user loginUser Logs user into the system */.
LoginUserBadRequest Invalid username/password supplied swagger:response loginUserBadRequest */.
LoginUserOK successful operation swagger:response loginUserOK */.
LoginUserParams contains all the bound params for the login user operation typically these are obtained from a http.Request swagger:parameters loginUser.
LoginUserURL generates an URL for the login user operation.
LogoutUser swagger:route GET /users/logout user logoutUser Logs out current logged in user session */.
LogoutUserDefault successful operation swagger:response logoutUserDefault */.
LogoutUserParams contains all the bound params for the logout user operation typically these are obtained from a http.Request swagger:parameters logoutUser.
LogoutUserURL generates an URL for the logout user operation.
UpdateUser swagger:route PUT /users/{username} user updateUser Updated user This can only be done by the logged in user.
UpdateUserBadRequest Invalid user supplied swagger:response updateUserBadRequest */.
UpdateUserNotFound User not found swagger:response updateUserNotFound */.
UpdateUserParams contains all the bound params for the update user operation typically these are obtained from a http.Request swagger:parameters updateUser.
UpdateUserURL generates an URL for the update user operation.

# Interfaces

CreateUserHandler interface for that can handle valid create user params.
CreateUsersWithArrayInputHandler interface for that can handle valid create users with array input params.
CreateUsersWithListInputHandler interface for that can handle valid create users with list input params.
DeleteUserHandler interface for that can handle valid delete user params.
GetUserByNameHandler interface for that can handle valid get user by name params.
LoginUserHandler interface for that can handle valid login user params.
LogoutUserHandler interface for that can handle valid logout user params.
UpdateUserHandler interface for that can handle valid update user params.

# Type aliases

CreateUserHandlerFunc turns a function with the right signature into a create user handler.
CreateUsersWithArrayInputHandlerFunc turns a function with the right signature into a create users with array input handler.
CreateUsersWithListInputHandlerFunc turns a function with the right signature into a create users with list input handler.
DeleteUserHandlerFunc turns a function with the right signature into a delete user handler.
GetUserByNameHandlerFunc turns a function with the right signature into a get user by name handler.
LoginUserHandlerFunc turns a function with the right signature into a login user handler.
LogoutUserHandlerFunc turns a function with the right signature into a logout user handler.
UpdateUserHandlerFunc turns a function with the right signature into a update user handler.