Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateUserParams ¶
type CreateUserParams struct { // email // Required: true // Format: email Email Email `json:"email"` // password // Required: true // Format: password Password Password `json:"password"` // username // Required: true Username Username `json:"username"` }
CreateUserParams create user params
swagger:model CreateUserParams
func (*CreateUserParams) MarshalBinary ¶
func (m *CreateUserParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateUserParams) UnmarshalBinary ¶
func (m *CreateUserParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Error ¶
type Error struct { // message // Required: true Message *string `json:"message"` }
Error error
swagger:model Error
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type LoginParam ¶
type LoginParam struct { // email // Required: true // Format: email Email Email `json:"email"` // password // Required: true // Format: password Password Password `json:"password"` }
LoginParam login param
swagger:model LoginParam
func (*LoginParam) MarshalBinary ¶
func (m *LoginParam) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LoginParam) UnmarshalBinary ¶
func (m *LoginParam) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdatePassword ¶
type UpdatePassword struct { // new // Required: true // Format: password New Password `json:"new"` // old // Required: true // Format: password Old Password `json:"old"` }
UpdatePassword update password
swagger:model UpdatePassword
func (*UpdatePassword) MarshalBinary ¶
func (m *UpdatePassword) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdatePassword) UnmarshalBinary ¶
func (m *UpdatePassword) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type User ¶
type User struct { // email // Required: true // Format: email Email Email `json:"email"` // id // Required: true ID UserID `json:"id"` // username // Required: true Username Username `json:"username"` }
User user
swagger:model User
func (*User) MarshalBinary ¶
MarshalBinary interface implementation
func (*User) UnmarshalBinary ¶
UnmarshalBinary interface implementation