Documentation ¶
Index ¶
- func ChangePassword(ctx context.Context) (err error)
- func GetUserInfo(ctx context.Context, token string) (userOne *model.User, err error)
- func Login(ctx context.Context, Username, Password string) (token string, err error)
- func Logout(ctx context.Context, id model.Id) (err error)
- func Register(ctx context.Context) (err error)
- func ResetPassword(ctx context.Context) (err error)
- type UserClaims
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangePassword ¶
func GetUserInfo ¶
func ResetPassword ¶
Types ¶
type UserClaims ¶
Click to show internal directories.
Click to hide internal directories.