Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrDescribeAccountParamsInvalid describe account params invalid ErrDescribeAccountParamsInvalid = errors.New("describe account params invalid") )
Functions ¶
This section is empty.
Types ¶
type AuthenticateAccount ¶
AuthenticateAccount authenticate account params
type CreateAccount ¶
type CreateAccount struct { Login string `binding:"required" validate:"required"` Email string `binding:"required" validate:"required,email"` Password string `binding:"required" validate:"required,min=8,max=56"` Name string Bio string Location string Status models.UserStatus }
CreateAccount create account params
type CreateResetPasswordToken ¶
type CreateResetPasswordToken struct {
Email string
}
CreateResetPasswordToken create reset account password token params
type CreateUnlockToken ¶
type CreateUnlockToken struct {
Email string
}
CreateUnlockToken create unlock account token params
type DescribeAccount ¶
DescribeAccount describe account params
func (*DescribeAccount) IsValid ¶
func (params *DescribeAccount) IsValid() error
IsValid return describe account params is valid
type DescribeAccounts ¶
type DescribeAccounts struct { database.Pagination[*models.Account] Q string }
DescribeAccounts describe accounts params
type ResetPassword ¶
ResetPassword reset password params
type UpdateAccount ¶
type UpdateAccount struct { Login string Name *string Bio *string Location *string Status *models.UserStatus }
UpdateAccount update account params
Click to show internal directories.
Click to hide internal directories.