Versions in this module Expand all Collapse all v0 v0.29.1 Oct 20, 2022 Changes in this version + const DeleteUserBadRequestCode + const DeleteUserNotFoundCode + const GetUserByNameBadRequestCode + const GetUserByNameNotFoundCode + const GetUserByNameOKCode + const LoginUserBadRequestCode + const LoginUserOKCode + const UpdateUserBadRequestCode + const UpdateUserNotFoundCode + type CreateUser struct + Context *middleware.Context + Handler CreateUserHandler + func NewCreateUser(ctx *middleware.Context, handler CreateUserHandler) *CreateUser + func (o *CreateUser) ServeHTTP(rw http.ResponseWriter, r *http.Request) + type CreateUserDefault struct + func NewCreateUserDefault(code int) *CreateUserDefault + func (o *CreateUserDefault) SetStatusCode(code int) + func (o *CreateUserDefault) WithStatusCode(code int) *CreateUserDefault + func (o *CreateUserDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type CreateUserHandler interface + Handle func(CreateUserParams) middleware.Responder + type CreateUserHandlerFunc func(CreateUserParams) middleware.Responder + func (fn CreateUserHandlerFunc) Handle(params CreateUserParams) middleware.Responder + type CreateUserParams struct + Body *models.User + HTTPRequest *http.Request + func NewCreateUserParams() CreateUserParams + func (o *CreateUserParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error + type CreateUserURL struct + func (o *CreateUserURL) Build() (*url.URL, error) + func (o *CreateUserURL) BuildFull(scheme, host string) (*url.URL, error) + func (o *CreateUserURL) Must(u *url.URL, err error) *url.URL + func (o *CreateUserURL) SetBasePath(bp string) + func (o *CreateUserURL) String() string + func (o *CreateUserURL) StringFull(scheme, host string) string + func (o *CreateUserURL) WithBasePath(bp string) *CreateUserURL + type CreateUsersWithArrayInput struct + Context *middleware.Context + Handler CreateUsersWithArrayInputHandler + func NewCreateUsersWithArrayInput(ctx *middleware.Context, handler CreateUsersWithArrayInputHandler) *CreateUsersWithArrayInput + func (o *CreateUsersWithArrayInput) ServeHTTP(rw http.ResponseWriter, r *http.Request) + type CreateUsersWithArrayInputDefault struct + func NewCreateUsersWithArrayInputDefault(code int) *CreateUsersWithArrayInputDefault + func (o *CreateUsersWithArrayInputDefault) SetStatusCode(code int) + func (o *CreateUsersWithArrayInputDefault) WithStatusCode(code int) *CreateUsersWithArrayInputDefault + func (o *CreateUsersWithArrayInputDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type CreateUsersWithArrayInputHandler interface + Handle func(CreateUsersWithArrayInputParams) middleware.Responder + type CreateUsersWithArrayInputHandlerFunc func(CreateUsersWithArrayInputParams) middleware.Responder + func (fn CreateUsersWithArrayInputHandlerFunc) Handle(params CreateUsersWithArrayInputParams) middleware.Responder + type CreateUsersWithArrayInputParams struct + Body []*models.User + HTTPRequest *http.Request + func NewCreateUsersWithArrayInputParams() CreateUsersWithArrayInputParams + func (o *CreateUsersWithArrayInputParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error + type CreateUsersWithArrayInputURL struct + func (o *CreateUsersWithArrayInputURL) Build() (*url.URL, error) + func (o *CreateUsersWithArrayInputURL) BuildFull(scheme, host string) (*url.URL, error) + func (o *CreateUsersWithArrayInputURL) Must(u *url.URL, err error) *url.URL + func (o *CreateUsersWithArrayInputURL) SetBasePath(bp string) + func (o *CreateUsersWithArrayInputURL) String() string + func (o *CreateUsersWithArrayInputURL) StringFull(scheme, host string) string + func (o *CreateUsersWithArrayInputURL) WithBasePath(bp string) *CreateUsersWithArrayInputURL + type CreateUsersWithListInput struct + Context *middleware.Context + Handler CreateUsersWithListInputHandler + func NewCreateUsersWithListInput(ctx *middleware.Context, handler CreateUsersWithListInputHandler) *CreateUsersWithListInput + func (o *CreateUsersWithListInput) ServeHTTP(rw http.ResponseWriter, r *http.Request) + type CreateUsersWithListInputDefault struct + func NewCreateUsersWithListInputDefault(code int) *CreateUsersWithListInputDefault + func (o *CreateUsersWithListInputDefault) SetStatusCode(code int) + func (o *CreateUsersWithListInputDefault) WithStatusCode(code int) *CreateUsersWithListInputDefault + func (o *CreateUsersWithListInputDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type CreateUsersWithListInputHandler interface + Handle func(CreateUsersWithListInputParams) middleware.Responder + type CreateUsersWithListInputHandlerFunc func(CreateUsersWithListInputParams) middleware.Responder + func (fn CreateUsersWithListInputHandlerFunc) Handle(params CreateUsersWithListInputParams) middleware.Responder + type CreateUsersWithListInputParams struct + Body []*models.User + HTTPRequest *http.Request + func NewCreateUsersWithListInputParams() CreateUsersWithListInputParams + func (o *CreateUsersWithListInputParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error + type CreateUsersWithListInputURL struct + func (o *CreateUsersWithListInputURL) Build() (*url.URL, error) + func (o *CreateUsersWithListInputURL) BuildFull(scheme, host string) (*url.URL, error) + func (o *CreateUsersWithListInputURL) Must(u *url.URL, err error) *url.URL + func (o *CreateUsersWithListInputURL) SetBasePath(bp string) + func (o *CreateUsersWithListInputURL) String() string + func (o *CreateUsersWithListInputURL) StringFull(scheme, host string) string + func (o *CreateUsersWithListInputURL) WithBasePath(bp string) *CreateUsersWithListInputURL + type DeleteUser struct + Context *middleware.Context + Handler DeleteUserHandler + func NewDeleteUser(ctx *middleware.Context, handler DeleteUserHandler) *DeleteUser + func (o *DeleteUser) ServeHTTP(rw http.ResponseWriter, r *http.Request) + type DeleteUserBadRequest struct + func NewDeleteUserBadRequest() *DeleteUserBadRequest + func (o *DeleteUserBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type DeleteUserHandler interface + Handle func(DeleteUserParams) middleware.Responder + type DeleteUserHandlerFunc func(DeleteUserParams) middleware.Responder + func (fn DeleteUserHandlerFunc) Handle(params DeleteUserParams) middleware.Responder + type DeleteUserNotFound struct + func NewDeleteUserNotFound() *DeleteUserNotFound + func (o *DeleteUserNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type DeleteUserParams struct + HTTPRequest *http.Request + Username string + func NewDeleteUserParams() DeleteUserParams + func (o *DeleteUserParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error + type DeleteUserURL struct + Username string + func (o *DeleteUserURL) Build() (*url.URL, error) + func (o *DeleteUserURL) BuildFull(scheme, host string) (*url.URL, error) + func (o *DeleteUserURL) Must(u *url.URL, err error) *url.URL + func (o *DeleteUserURL) SetBasePath(bp string) + func (o *DeleteUserURL) String() string + func (o *DeleteUserURL) StringFull(scheme, host string) string + func (o *DeleteUserURL) WithBasePath(bp string) *DeleteUserURL + type GetUserByName struct + Context *middleware.Context + Handler GetUserByNameHandler + func NewGetUserByName(ctx *middleware.Context, handler GetUserByNameHandler) *GetUserByName + func (o *GetUserByName) ServeHTTP(rw http.ResponseWriter, r *http.Request) + type GetUserByNameBadRequest struct + func NewGetUserByNameBadRequest() *GetUserByNameBadRequest + func (o *GetUserByNameBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type GetUserByNameHandler interface + Handle func(GetUserByNameParams) middleware.Responder + type GetUserByNameHandlerFunc func(GetUserByNameParams) middleware.Responder + func (fn GetUserByNameHandlerFunc) Handle(params GetUserByNameParams) middleware.Responder + type GetUserByNameNotFound struct + func NewGetUserByNameNotFound() *GetUserByNameNotFound + func (o *GetUserByNameNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type GetUserByNameOK struct + Payload *models.User + func NewGetUserByNameOK() *GetUserByNameOK + func (o *GetUserByNameOK) SetPayload(payload *models.User) + func (o *GetUserByNameOK) WithPayload(payload *models.User) *GetUserByNameOK + func (o *GetUserByNameOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type GetUserByNameParams struct + HTTPRequest *http.Request + Username string + func NewGetUserByNameParams() GetUserByNameParams + func (o *GetUserByNameParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error + type GetUserByNameURL struct + Username string + func (o *GetUserByNameURL) Build() (*url.URL, error) + func (o *GetUserByNameURL) BuildFull(scheme, host string) (*url.URL, error) + func (o *GetUserByNameURL) Must(u *url.URL, err error) *url.URL + func (o *GetUserByNameURL) SetBasePath(bp string) + func (o *GetUserByNameURL) String() string + func (o *GetUserByNameURL) StringFull(scheme, host string) string + func (o *GetUserByNameURL) WithBasePath(bp string) *GetUserByNameURL + type LoginUser struct + Context *middleware.Context + Handler LoginUserHandler + func NewLoginUser(ctx *middleware.Context, handler LoginUserHandler) *LoginUser + func (o *LoginUser) ServeHTTP(rw http.ResponseWriter, r *http.Request) + type LoginUserBadRequest struct + func NewLoginUserBadRequest() *LoginUserBadRequest + func (o *LoginUserBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type LoginUserHandler interface + Handle func(LoginUserParams) middleware.Responder + type LoginUserHandlerFunc func(LoginUserParams) middleware.Responder + func (fn LoginUserHandlerFunc) Handle(params LoginUserParams) middleware.Responder + type LoginUserOK struct + Payload string + func NewLoginUserOK() *LoginUserOK + func (o *LoginUserOK) SetPayload(payload string) + func (o *LoginUserOK) WithPayload(payload string) *LoginUserOK + func (o *LoginUserOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type LoginUserParams struct + HTTPRequest *http.Request + Password *string + Username *string + func NewLoginUserParams() LoginUserParams + func (o *LoginUserParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error + type LoginUserURL struct + Password *string + Username *string + func (o *LoginUserURL) Build() (*url.URL, error) + func (o *LoginUserURL) BuildFull(scheme, host string) (*url.URL, error) + func (o *LoginUserURL) Must(u *url.URL, err error) *url.URL + func (o *LoginUserURL) SetBasePath(bp string) + func (o *LoginUserURL) String() string + func (o *LoginUserURL) StringFull(scheme, host string) string + func (o *LoginUserURL) WithBasePath(bp string) *LoginUserURL + type LogoutUser struct + Context *middleware.Context + Handler LogoutUserHandler + func NewLogoutUser(ctx *middleware.Context, handler LogoutUserHandler) *LogoutUser + func (o *LogoutUser) ServeHTTP(rw http.ResponseWriter, r *http.Request) + type LogoutUserDefault struct + func NewLogoutUserDefault(code int) *LogoutUserDefault + func (o *LogoutUserDefault) SetStatusCode(code int) + func (o *LogoutUserDefault) WithStatusCode(code int) *LogoutUserDefault + func (o *LogoutUserDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type LogoutUserHandler interface + Handle func(LogoutUserParams) middleware.Responder + type LogoutUserHandlerFunc func(LogoutUserParams) middleware.Responder + func (fn LogoutUserHandlerFunc) Handle(params LogoutUserParams) middleware.Responder + type LogoutUserParams struct + HTTPRequest *http.Request + func NewLogoutUserParams() LogoutUserParams + func (o *LogoutUserParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error + type LogoutUserURL struct + func (o *LogoutUserURL) Build() (*url.URL, error) + func (o *LogoutUserURL) BuildFull(scheme, host string) (*url.URL, error) + func (o *LogoutUserURL) Must(u *url.URL, err error) *url.URL + func (o *LogoutUserURL) SetBasePath(bp string) + func (o *LogoutUserURL) String() string + func (o *LogoutUserURL) StringFull(scheme, host string) string + func (o *LogoutUserURL) WithBasePath(bp string) *LogoutUserURL + type UpdateUser struct + Context *middleware.Context + Handler UpdateUserHandler + func NewUpdateUser(ctx *middleware.Context, handler UpdateUserHandler) *UpdateUser + func (o *UpdateUser) ServeHTTP(rw http.ResponseWriter, r *http.Request) + type UpdateUserBadRequest struct + func NewUpdateUserBadRequest() *UpdateUserBadRequest + func (o *UpdateUserBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type UpdateUserHandler interface + Handle func(UpdateUserParams) middleware.Responder + type UpdateUserHandlerFunc func(UpdateUserParams) middleware.Responder + func (fn UpdateUserHandlerFunc) Handle(params UpdateUserParams) middleware.Responder + type UpdateUserNotFound struct + func NewUpdateUserNotFound() *UpdateUserNotFound + func (o *UpdateUserNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type UpdateUserParams struct + Body *models.User + HTTPRequest *http.Request + Username string + func NewUpdateUserParams() UpdateUserParams + func (o *UpdateUserParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error + type UpdateUserURL struct + Username string + func (o *UpdateUserURL) Build() (*url.URL, error) + func (o *UpdateUserURL) BuildFull(scheme, host string) (*url.URL, error) + func (o *UpdateUserURL) Must(u *url.URL, err error) *url.URL + func (o *UpdateUserURL) SetBasePath(bp string) + func (o *UpdateUserURL) String() string + func (o *UpdateUserURL) StringFull(scheme, host string) string + func (o *UpdateUserURL) WithBasePath(bp string) *UpdateUserURL