Documentation ¶
Index ¶
- Constants
- type Invite
- type InviteBadRequest
- type InviteCreated
- type InviteHandler
- type InviteHandlerFunc
- type InviteInternalServerError
- type InviteParams
- type InviteURL
- func (o *InviteURL) Build() (*url.URL, error)
- func (o *InviteURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *InviteURL) Must(u *url.URL, err error) *url.URL
- func (o *InviteURL) SetBasePath(bp string)
- func (o *InviteURL) String() string
- func (o *InviteURL) StringFull(scheme, host string) string
- func (o *InviteURL) WithBasePath(bp string) *InviteURL
- type InviteUnauthorized
- type Login
- type LoginHandler
- type LoginHandlerFunc
- type LoginOK
- type LoginParams
- type LoginURL
- func (o *LoginURL) Build() (*url.URL, error)
- func (o *LoginURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *LoginURL) Must(u *url.URL, err error) *url.URL
- func (o *LoginURL) SetBasePath(bp string)
- func (o *LoginURL) String() string
- func (o *LoginURL) StringFull(scheme, host string) string
- func (o *LoginURL) WithBasePath(bp string) *LoginURL
- type LoginUnauthorized
- type Register
- type RegisterHandler
- type RegisterHandlerFunc
- type RegisterInternalServerError
- type RegisterNotFound
- type RegisterOK
- type RegisterParams
- type RegisterURL
- func (o *RegisterURL) Build() (*url.URL, error)
- func (o *RegisterURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *RegisterURL) Must(u *url.URL, err error) *url.URL
- func (o *RegisterURL) SetBasePath(bp string)
- func (o *RegisterURL) String() string
- func (o *RegisterURL) StringFull(scheme, host string) string
- func (o *RegisterURL) WithBasePath(bp string) *RegisterURL
- type ResetPassword
- type ResetPasswordHandler
- type ResetPasswordHandlerFunc
- type ResetPasswordInternalServerError
- type ResetPasswordNotFound
- type ResetPasswordOK
- type ResetPasswordParams
- type ResetPasswordRequest
- type ResetPasswordRequestBadRequest
- type ResetPasswordRequestBody
- func (o *ResetPasswordRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ResetPasswordRequestBody) MarshalBinary() ([]byte, error)
- func (o *ResetPasswordRequestBody) UnmarshalBinary(b []byte) error
- func (o *ResetPasswordRequestBody) Validate(formats strfmt.Registry) error
- type ResetPasswordRequestCreated
- type ResetPasswordRequestHandler
- type ResetPasswordRequestHandlerFunc
- type ResetPasswordRequestInternalServerError
- type ResetPasswordRequestParams
- type ResetPasswordRequestURL
- func (o *ResetPasswordRequestURL) Build() (*url.URL, error)
- func (o *ResetPasswordRequestURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ResetPasswordRequestURL) Must(u *url.URL, err error) *url.URL
- func (o *ResetPasswordRequestURL) SetBasePath(bp string)
- func (o *ResetPasswordRequestURL) String() string
- func (o *ResetPasswordRequestURL) StringFull(scheme, host string) string
- func (o *ResetPasswordRequestURL) WithBasePath(bp string) *ResetPasswordRequestURL
- type ResetPasswordURL
- func (o *ResetPasswordURL) Build() (*url.URL, error)
- func (o *ResetPasswordURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ResetPasswordURL) Must(u *url.URL, err error) *url.URL
- func (o *ResetPasswordURL) SetBasePath(bp string)
- func (o *ResetPasswordURL) String() string
- func (o *ResetPasswordURL) StringFull(scheme, host string) string
- func (o *ResetPasswordURL) WithBasePath(bp string) *ResetPasswordURL
- type Verify
- type VerifyHandler
- type VerifyHandlerFunc
- type VerifyInternalServerError
- type VerifyNotFound
- type VerifyOK
- type VerifyParams
- type VerifyURL
- func (o *VerifyURL) Build() (*url.URL, error)
- func (o *VerifyURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *VerifyURL) Must(u *url.URL, err error) *url.URL
- func (o *VerifyURL) SetBasePath(bp string)
- func (o *VerifyURL) String() string
- func (o *VerifyURL) StringFull(scheme, host string) string
- func (o *VerifyURL) WithBasePath(bp string) *VerifyURL
Constants ¶
const InviteBadRequestCode int = 400
InviteBadRequestCode is the HTTP code returned for type InviteBadRequest
const InviteCreatedCode int = 201
InviteCreatedCode is the HTTP code returned for type InviteCreated
const InviteInternalServerErrorCode int = 500
InviteInternalServerErrorCode is the HTTP code returned for type InviteInternalServerError
InviteUnauthorizedCode is the HTTP code returned for type InviteUnauthorized
const LoginOKCode int = 200
LoginOKCode is the HTTP code returned for type LoginOK
LoginUnauthorizedCode is the HTTP code returned for type LoginUnauthorized
const RegisterInternalServerErrorCode int = 500
RegisterInternalServerErrorCode is the HTTP code returned for type RegisterInternalServerError
const RegisterNotFoundCode int = 404
RegisterNotFoundCode is the HTTP code returned for type RegisterNotFound
const RegisterOKCode int = 200
RegisterOKCode is the HTTP code returned for type RegisterOK
const ResetPasswordInternalServerErrorCode int = 500
ResetPasswordInternalServerErrorCode is the HTTP code returned for type ResetPasswordInternalServerError
const ResetPasswordNotFoundCode int = 404
ResetPasswordNotFoundCode is the HTTP code returned for type ResetPasswordNotFound
const ResetPasswordOKCode int = 200
ResetPasswordOKCode is the HTTP code returned for type ResetPasswordOK
const ResetPasswordRequestBadRequestCode int = 400
ResetPasswordRequestBadRequestCode is the HTTP code returned for type ResetPasswordRequestBadRequest
const ResetPasswordRequestCreatedCode int = 201
ResetPasswordRequestCreatedCode is the HTTP code returned for type ResetPasswordRequestCreated
const ResetPasswordRequestInternalServerErrorCode int = 500
ResetPasswordRequestInternalServerErrorCode is the HTTP code returned for type ResetPasswordRequestInternalServerError
const VerifyInternalServerErrorCode int = 500
VerifyInternalServerErrorCode is the HTTP code returned for type VerifyInternalServerError
const VerifyNotFoundCode int = 404
VerifyNotFoundCode is the HTTP code returned for type VerifyNotFound
const VerifyOKCode int = 200
VerifyOKCode is the HTTP code returned for type VerifyOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Invite ¶
type Invite struct { Context *middleware.Context Handler InviteHandler }
Invite swagger:route POST /invite account invite
Invite invite API
func NewInvite ¶
func NewInvite(ctx *middleware.Context, handler InviteHandler) *Invite
NewInvite creates a new http.Handler for the invite operation
type InviteBadRequest ¶
type InviteBadRequest struct { }
InviteBadRequest invitation not created (already exists)
swagger:response inviteBadRequest
func NewInviteBadRequest ¶
func NewInviteBadRequest() *InviteBadRequest
NewInviteBadRequest creates InviteBadRequest with default headers values
func (*InviteBadRequest) WriteResponse ¶
func (o *InviteBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type InviteCreated ¶
type InviteCreated struct { }
InviteCreated invitation created
swagger:response inviteCreated
func NewInviteCreated ¶
func NewInviteCreated() *InviteCreated
NewInviteCreated creates InviteCreated with default headers values
func (*InviteCreated) WriteResponse ¶
func (o *InviteCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type InviteHandler ¶
type InviteHandler interface {
Handle(InviteParams) middleware.Responder
}
InviteHandler interface for that can handle valid invite params
type InviteHandlerFunc ¶
type InviteHandlerFunc func(InviteParams) middleware.Responder
InviteHandlerFunc turns a function with the right signature into a invite handler
func (InviteHandlerFunc) Handle ¶
func (fn InviteHandlerFunc) Handle(params InviteParams) middleware.Responder
Handle executing the request and returning a response
type InviteInternalServerError ¶
type InviteInternalServerError struct { }
InviteInternalServerError internal server error
swagger:response inviteInternalServerError
func NewInviteInternalServerError ¶
func NewInviteInternalServerError() *InviteInternalServerError
NewInviteInternalServerError creates InviteInternalServerError with default headers values
func (*InviteInternalServerError) WriteResponse ¶
func (o *InviteInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type InviteParams ¶
type InviteParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: body */ Body *rest_model_zrok.InviteRequest }
InviteParams contains all the bound params for the invite operation typically these are obtained from a http.Request
swagger:parameters invite
func NewInviteParams ¶
func NewInviteParams() InviteParams
NewInviteParams creates a new InviteParams object
There are no default values defined in the spec.
func (*InviteParams) BindRequest ¶
func (o *InviteParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewInviteParams() beforehand.
type InviteURL ¶
type InviteURL struct {
// contains filtered or unexported fields
}
InviteURL generates an URL for the invite operation
func (*InviteURL) SetBasePath ¶
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*InviteURL) StringFull ¶
StringFull returns the string representation of a complete url
func (*InviteURL) WithBasePath ¶
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type InviteUnauthorized ¶
type InviteUnauthorized struct { }
InviteUnauthorized unauthorized
swagger:response inviteUnauthorized
func NewInviteUnauthorized ¶
func NewInviteUnauthorized() *InviteUnauthorized
NewInviteUnauthorized creates InviteUnauthorized with default headers values
func (*InviteUnauthorized) WriteResponse ¶
func (o *InviteUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type Login ¶
type Login struct { Context *middleware.Context Handler LoginHandler }
Login swagger:route POST /login account login
Login login API
func NewLogin ¶
func NewLogin(ctx *middleware.Context, handler LoginHandler) *Login
NewLogin creates a new http.Handler for the login operation
type LoginHandler ¶
type LoginHandler interface {
Handle(LoginParams) middleware.Responder
}
LoginHandler interface for that can handle valid login params
type LoginHandlerFunc ¶
type LoginHandlerFunc func(LoginParams) middleware.Responder
LoginHandlerFunc turns a function with the right signature into a login handler
func (LoginHandlerFunc) Handle ¶
func (fn LoginHandlerFunc) Handle(params LoginParams) middleware.Responder
Handle executing the request and returning a response
type LoginOK ¶
type LoginOK struct { /* In: Body */ Payload rest_model_zrok.LoginResponse `json:"body,omitempty"` }
LoginOK login successful
swagger:response loginOK
func (*LoginOK) SetPayload ¶
func (o *LoginOK) SetPayload(payload rest_model_zrok.LoginResponse)
SetPayload sets the payload to the login o k response
func (*LoginOK) WithPayload ¶
func (o *LoginOK) WithPayload(payload rest_model_zrok.LoginResponse) *LoginOK
WithPayload adds the payload to the login o k response
func (*LoginOK) WriteResponse ¶
func (o *LoginOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type LoginParams ¶
type LoginParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: body */ Body *rest_model_zrok.LoginRequest }
LoginParams contains all the bound params for the login operation typically these are obtained from a http.Request
swagger:parameters login
func NewLoginParams ¶
func NewLoginParams() LoginParams
NewLoginParams creates a new LoginParams object
There are no default values defined in the spec.
func (*LoginParams) BindRequest ¶
func (o *LoginParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewLoginParams() beforehand.
type LoginURL ¶
type LoginURL struct {
// contains filtered or unexported fields
}
LoginURL generates an URL for the login operation
func (*LoginURL) SetBasePath ¶
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*LoginURL) StringFull ¶
StringFull returns the string representation of a complete url
func (*LoginURL) WithBasePath ¶
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type LoginUnauthorized ¶
type LoginUnauthorized struct { }
LoginUnauthorized invalid login
swagger:response loginUnauthorized
func NewLoginUnauthorized ¶
func NewLoginUnauthorized() *LoginUnauthorized
NewLoginUnauthorized creates LoginUnauthorized with default headers values
func (*LoginUnauthorized) WriteResponse ¶
func (o *LoginUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type Register ¶
type Register struct { Context *middleware.Context Handler RegisterHandler }
Register swagger:route POST /register account register
Register register API
func NewRegister ¶
func NewRegister(ctx *middleware.Context, handler RegisterHandler) *Register
NewRegister creates a new http.Handler for the register operation
type RegisterHandler ¶
type RegisterHandler interface {
Handle(RegisterParams) middleware.Responder
}
RegisterHandler interface for that can handle valid register params
type RegisterHandlerFunc ¶
type RegisterHandlerFunc func(RegisterParams) middleware.Responder
RegisterHandlerFunc turns a function with the right signature into a register handler
func (RegisterHandlerFunc) Handle ¶
func (fn RegisterHandlerFunc) Handle(params RegisterParams) middleware.Responder
Handle executing the request and returning a response
type RegisterInternalServerError ¶
type RegisterInternalServerError struct { }
RegisterInternalServerError internal server error
swagger:response registerInternalServerError
func NewRegisterInternalServerError ¶
func NewRegisterInternalServerError() *RegisterInternalServerError
NewRegisterInternalServerError creates RegisterInternalServerError with default headers values
func (*RegisterInternalServerError) WriteResponse ¶
func (o *RegisterInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RegisterNotFound ¶
type RegisterNotFound struct { }
RegisterNotFound request not found
swagger:response registerNotFound
func NewRegisterNotFound ¶
func NewRegisterNotFound() *RegisterNotFound
NewRegisterNotFound creates RegisterNotFound with default headers values
func (*RegisterNotFound) WriteResponse ¶
func (o *RegisterNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RegisterOK ¶
type RegisterOK struct { /* In: Body */ Payload *rest_model_zrok.RegisterResponse `json:"body,omitempty"` }
RegisterOK account created
swagger:response registerOK
func NewRegisterOK ¶
func NewRegisterOK() *RegisterOK
NewRegisterOK creates RegisterOK with default headers values
func (*RegisterOK) SetPayload ¶
func (o *RegisterOK) SetPayload(payload *rest_model_zrok.RegisterResponse)
SetPayload sets the payload to the register o k response
func (*RegisterOK) WithPayload ¶
func (o *RegisterOK) WithPayload(payload *rest_model_zrok.RegisterResponse) *RegisterOK
WithPayload adds the payload to the register o k response
func (*RegisterOK) WriteResponse ¶
func (o *RegisterOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RegisterParams ¶
type RegisterParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: body */ Body *rest_model_zrok.RegisterRequest }
RegisterParams contains all the bound params for the register operation typically these are obtained from a http.Request
swagger:parameters register
func NewRegisterParams ¶
func NewRegisterParams() RegisterParams
NewRegisterParams creates a new RegisterParams object
There are no default values defined in the spec.
func (*RegisterParams) BindRequest ¶
func (o *RegisterParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewRegisterParams() beforehand.
type RegisterURL ¶
type RegisterURL struct {
// contains filtered or unexported fields
}
RegisterURL generates an URL for the register operation
func (*RegisterURL) Build ¶
func (o *RegisterURL) Build() (*url.URL, error)
Build a url path and query string
func (*RegisterURL) BuildFull ¶
func (o *RegisterURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*RegisterURL) SetBasePath ¶
func (o *RegisterURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*RegisterURL) String ¶
func (o *RegisterURL) String() string
String returns the string representation of the path with query string
func (*RegisterURL) StringFull ¶
func (o *RegisterURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*RegisterURL) WithBasePath ¶
func (o *RegisterURL) WithBasePath(bp string) *RegisterURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ResetPassword ¶
type ResetPassword struct { Context *middleware.Context Handler ResetPasswordHandler }
ResetPassword swagger:route POST /resetPassword account resetPassword
ResetPassword reset password API
func NewResetPassword ¶
func NewResetPassword(ctx *middleware.Context, handler ResetPasswordHandler) *ResetPassword
NewResetPassword creates a new http.Handler for the reset password operation
func (*ResetPassword) ServeHTTP ¶
func (o *ResetPassword) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ResetPasswordHandler ¶
type ResetPasswordHandler interface {
Handle(ResetPasswordParams) middleware.Responder
}
ResetPasswordHandler interface for that can handle valid reset password params
type ResetPasswordHandlerFunc ¶
type ResetPasswordHandlerFunc func(ResetPasswordParams) middleware.Responder
ResetPasswordHandlerFunc turns a function with the right signature into a reset password handler
func (ResetPasswordHandlerFunc) Handle ¶
func (fn ResetPasswordHandlerFunc) Handle(params ResetPasswordParams) middleware.Responder
Handle executing the request and returning a response
type ResetPasswordInternalServerError ¶
type ResetPasswordInternalServerError struct { }
ResetPasswordInternalServerError internal server error
swagger:response resetPasswordInternalServerError
func NewResetPasswordInternalServerError ¶
func NewResetPasswordInternalServerError() *ResetPasswordInternalServerError
NewResetPasswordInternalServerError creates ResetPasswordInternalServerError with default headers values
func (*ResetPasswordInternalServerError) WriteResponse ¶
func (o *ResetPasswordInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ResetPasswordNotFound ¶
type ResetPasswordNotFound struct { }
ResetPasswordNotFound request not found
swagger:response resetPasswordNotFound
func NewResetPasswordNotFound ¶
func NewResetPasswordNotFound() *ResetPasswordNotFound
NewResetPasswordNotFound creates ResetPasswordNotFound with default headers values
func (*ResetPasswordNotFound) WriteResponse ¶
func (o *ResetPasswordNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ResetPasswordOK ¶
type ResetPasswordOK struct { }
ResetPasswordOK password reset
swagger:response resetPasswordOK
func NewResetPasswordOK ¶
func NewResetPasswordOK() *ResetPasswordOK
NewResetPasswordOK creates ResetPasswordOK with default headers values
func (*ResetPasswordOK) WriteResponse ¶
func (o *ResetPasswordOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ResetPasswordParams ¶
type ResetPasswordParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: body */ Body *rest_model_zrok.ResetPasswordRequest }
ResetPasswordParams contains all the bound params for the reset password operation typically these are obtained from a http.Request
swagger:parameters resetPassword
func NewResetPasswordParams ¶
func NewResetPasswordParams() ResetPasswordParams
NewResetPasswordParams creates a new ResetPasswordParams object
There are no default values defined in the spec.
func (*ResetPasswordParams) BindRequest ¶
func (o *ResetPasswordParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewResetPasswordParams() beforehand.
type ResetPasswordRequest ¶
type ResetPasswordRequest struct { Context *middleware.Context Handler ResetPasswordRequestHandler }
ResetPasswordRequest swagger:route POST /resetPasswordRequest account resetPasswordRequest
ResetPasswordRequest reset password request API
func NewResetPasswordRequest ¶
func NewResetPasswordRequest(ctx *middleware.Context, handler ResetPasswordRequestHandler) *ResetPasswordRequest
NewResetPasswordRequest creates a new http.Handler for the reset password request operation
func (*ResetPasswordRequest) ServeHTTP ¶
func (o *ResetPasswordRequest) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ResetPasswordRequestBadRequest ¶
type ResetPasswordRequestBadRequest struct { }
ResetPasswordRequestBadRequest forgot password request not created
swagger:response resetPasswordRequestBadRequest
func NewResetPasswordRequestBadRequest ¶
func NewResetPasswordRequestBadRequest() *ResetPasswordRequestBadRequest
NewResetPasswordRequestBadRequest creates ResetPasswordRequestBadRequest with default headers values
func (*ResetPasswordRequestBadRequest) WriteResponse ¶
func (o *ResetPasswordRequestBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ResetPasswordRequestBody ¶
type ResetPasswordRequestBody struct { // email address EmailAddress string `json:"emailAddress,omitempty"` }
ResetPasswordRequestBody reset password request body
swagger:model ResetPasswordRequestBody
func (*ResetPasswordRequestBody) ContextValidate ¶
func (o *ResetPasswordRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this reset password request body based on context it is used
func (*ResetPasswordRequestBody) MarshalBinary ¶
func (o *ResetPasswordRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResetPasswordRequestBody) UnmarshalBinary ¶
func (o *ResetPasswordRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResetPasswordRequestCreated ¶
type ResetPasswordRequestCreated struct { }
ResetPasswordRequestCreated forgot password request created
swagger:response resetPasswordRequestCreated
func NewResetPasswordRequestCreated ¶
func NewResetPasswordRequestCreated() *ResetPasswordRequestCreated
NewResetPasswordRequestCreated creates ResetPasswordRequestCreated with default headers values
func (*ResetPasswordRequestCreated) WriteResponse ¶
func (o *ResetPasswordRequestCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ResetPasswordRequestHandler ¶
type ResetPasswordRequestHandler interface {
Handle(ResetPasswordRequestParams) middleware.Responder
}
ResetPasswordRequestHandler interface for that can handle valid reset password request params
type ResetPasswordRequestHandlerFunc ¶
type ResetPasswordRequestHandlerFunc func(ResetPasswordRequestParams) middleware.Responder
ResetPasswordRequestHandlerFunc turns a function with the right signature into a reset password request handler
func (ResetPasswordRequestHandlerFunc) Handle ¶
func (fn ResetPasswordRequestHandlerFunc) Handle(params ResetPasswordRequestParams) middleware.Responder
Handle executing the request and returning a response
type ResetPasswordRequestInternalServerError ¶
type ResetPasswordRequestInternalServerError struct { }
ResetPasswordRequestInternalServerError internal server error
swagger:response resetPasswordRequestInternalServerError
func NewResetPasswordRequestInternalServerError ¶
func NewResetPasswordRequestInternalServerError() *ResetPasswordRequestInternalServerError
NewResetPasswordRequestInternalServerError creates ResetPasswordRequestInternalServerError with default headers values
func (*ResetPasswordRequestInternalServerError) WriteResponse ¶
func (o *ResetPasswordRequestInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ResetPasswordRequestParams ¶
type ResetPasswordRequestParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: body */ Body ResetPasswordRequestBody }
ResetPasswordRequestParams contains all the bound params for the reset password request operation typically these are obtained from a http.Request
swagger:parameters resetPasswordRequest
func NewResetPasswordRequestParams ¶
func NewResetPasswordRequestParams() ResetPasswordRequestParams
NewResetPasswordRequestParams creates a new ResetPasswordRequestParams object
There are no default values defined in the spec.
func (*ResetPasswordRequestParams) BindRequest ¶
func (o *ResetPasswordRequestParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewResetPasswordRequestParams() beforehand.
type ResetPasswordRequestURL ¶
type ResetPasswordRequestURL struct {
// contains filtered or unexported fields
}
ResetPasswordRequestURL generates an URL for the reset password request operation
func (*ResetPasswordRequestURL) Build ¶
func (o *ResetPasswordRequestURL) Build() (*url.URL, error)
Build a url path and query string
func (*ResetPasswordRequestURL) BuildFull ¶
func (o *ResetPasswordRequestURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ResetPasswordRequestURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ResetPasswordRequestURL) SetBasePath ¶
func (o *ResetPasswordRequestURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ResetPasswordRequestURL) String ¶
func (o *ResetPasswordRequestURL) String() string
String returns the string representation of the path with query string
func (*ResetPasswordRequestURL) StringFull ¶
func (o *ResetPasswordRequestURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ResetPasswordRequestURL) WithBasePath ¶
func (o *ResetPasswordRequestURL) WithBasePath(bp string) *ResetPasswordRequestURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ResetPasswordURL ¶
type ResetPasswordURL struct {
// contains filtered or unexported fields
}
ResetPasswordURL generates an URL for the reset password operation
func (*ResetPasswordURL) Build ¶
func (o *ResetPasswordURL) Build() (*url.URL, error)
Build a url path and query string
func (*ResetPasswordURL) BuildFull ¶
func (o *ResetPasswordURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ResetPasswordURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ResetPasswordURL) SetBasePath ¶
func (o *ResetPasswordURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ResetPasswordURL) String ¶
func (o *ResetPasswordURL) String() string
String returns the string representation of the path with query string
func (*ResetPasswordURL) StringFull ¶
func (o *ResetPasswordURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ResetPasswordURL) WithBasePath ¶
func (o *ResetPasswordURL) WithBasePath(bp string) *ResetPasswordURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type Verify ¶
type Verify struct { Context *middleware.Context Handler VerifyHandler }
Verify swagger:route POST /verify account verify
Verify verify API
func NewVerify ¶
func NewVerify(ctx *middleware.Context, handler VerifyHandler) *Verify
NewVerify creates a new http.Handler for the verify operation
type VerifyHandler ¶
type VerifyHandler interface {
Handle(VerifyParams) middleware.Responder
}
VerifyHandler interface for that can handle valid verify params
type VerifyHandlerFunc ¶
type VerifyHandlerFunc func(VerifyParams) middleware.Responder
VerifyHandlerFunc turns a function with the right signature into a verify handler
func (VerifyHandlerFunc) Handle ¶
func (fn VerifyHandlerFunc) Handle(params VerifyParams) middleware.Responder
Handle executing the request and returning a response
type VerifyInternalServerError ¶
type VerifyInternalServerError struct { }
VerifyInternalServerError internal server error
swagger:response verifyInternalServerError
func NewVerifyInternalServerError ¶
func NewVerifyInternalServerError() *VerifyInternalServerError
NewVerifyInternalServerError creates VerifyInternalServerError with default headers values
func (*VerifyInternalServerError) WriteResponse ¶
func (o *VerifyInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type VerifyNotFound ¶
type VerifyNotFound struct { }
VerifyNotFound token not found
swagger:response verifyNotFound
func NewVerifyNotFound ¶
func NewVerifyNotFound() *VerifyNotFound
NewVerifyNotFound creates VerifyNotFound with default headers values
func (*VerifyNotFound) WriteResponse ¶
func (o *VerifyNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type VerifyOK ¶
type VerifyOK struct { /* In: Body */ Payload *rest_model_zrok.VerifyResponse `json:"body,omitempty"` }
VerifyOK token ready
swagger:response verifyOK
func NewVerifyOK ¶
func NewVerifyOK() *VerifyOK
NewVerifyOK creates VerifyOK with default headers values
func (*VerifyOK) SetPayload ¶
func (o *VerifyOK) SetPayload(payload *rest_model_zrok.VerifyResponse)
SetPayload sets the payload to the verify o k response
func (*VerifyOK) WithPayload ¶
func (o *VerifyOK) WithPayload(payload *rest_model_zrok.VerifyResponse) *VerifyOK
WithPayload adds the payload to the verify o k response
func (*VerifyOK) WriteResponse ¶
func (o *VerifyOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type VerifyParams ¶
type VerifyParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: body */ Body *rest_model_zrok.VerifyRequest }
VerifyParams contains all the bound params for the verify operation typically these are obtained from a http.Request
swagger:parameters verify
func NewVerifyParams ¶
func NewVerifyParams() VerifyParams
NewVerifyParams creates a new VerifyParams object
There are no default values defined in the spec.
func (*VerifyParams) BindRequest ¶
func (o *VerifyParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewVerifyParams() beforehand.
type VerifyURL ¶
type VerifyURL struct {
// contains filtered or unexported fields
}
VerifyURL generates an URL for the verify operation
func (*VerifyURL) SetBasePath ¶
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*VerifyURL) StringFull ¶
StringFull returns the string representation of a complete url
func (*VerifyURL) WithBasePath ¶
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
Source Files ¶
- invite.go
- invite_parameters.go
- invite_responses.go
- invite_urlbuilder.go
- login.go
- login_parameters.go
- login_responses.go
- login_urlbuilder.go
- register.go
- register_parameters.go
- register_responses.go
- register_urlbuilder.go
- reset_password.go
- reset_password_parameters.go
- reset_password_request.go
- reset_password_request_parameters.go
- reset_password_request_responses.go
- reset_password_request_urlbuilder.go
- reset_password_responses.go
- reset_password_urlbuilder.go
- verify.go
- verify_parameters.go
- verify_responses.go
- verify_urlbuilder.go