package
0.2.0
Repository: https://github.com/stoplightio/go-swagger.git
Documentation: pkg.go.dev

# Functions

NewCreateUser creates a new http.Handler for the create user operation.
NewCreateUserParams creates a new CreateUserParams object with the default values initialized.
NewCreateUsersWithArrayInput creates a new http.Handler for the create users with array input operation.
NewCreateUsersWithArrayInputParams creates a new CreateUsersWithArrayInputParams object with the default values initialized.
NewCreateUsersWithListInput creates a new http.Handler for the create users with list input operation.
NewCreateUsersWithListInputParams creates a new CreateUsersWithListInputParams object with the default values initialized.
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 with the default values initialized.
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 with the default values initialized.
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 with the default values initialized.
NewLogoutUser creates a new http.Handler for the logout user operation.
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 with the default values initialized.

# Structs

CreateUser swagger:route POST /user user createUser Create user This can only be done by the logged in user.
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 /user/createWithArray user createUsersWithArrayInput Creates list of users with given input array */.
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.
CreateUsersWithListInput swagger:route POST /user/createWithList user createUsersWithListInput Creates list of users with given input array */.
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.
DeleteUser swagger:route DELETE /user/{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.
GetUserByName swagger:route GET /user/{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.
LoginUser swagger:route GET /user/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.
LogoutUser swagger:route GET /user/logout user logoutUser Logs out current logged in user session */.
UpdateUser swagger:route PUT /user/{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.

# 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.