Documentation
¶
Overview ¶
Copyright 2019 Axetroy. All rights reserved. MIT license.
Copyright 2019 Axetroy. All rights reserved. MIT license.
Copyright 2019 Axetroy. All rights reserved. MIT license.
Copyright 2019 Axetroy. All rights reserved. MIT license.
Copyright 2019 Axetroy. All rights reserved. MIT license.
Index ¶
- func Activation(input ActivationParams) (res schema.Response)
- func ActivationRouter(context *gin.Context)
- func DeleteUserByUserName(username string)
- func ResetPassword(input ResetPasswordParams) (res schema.Response)
- func ResetPasswordRouter(context *gin.Context)
- func SignIn(context controller.Context, input SignInParams) (res schema.Response)
- func SignInRouter(context *gin.Context)
- func SignUp(input SignUpParams) (res schema.Response)
- func SignUpRouter(context *gin.Context)
- type ActivationParams
- type ResetPasswordParams
- type SignInParams
- type SignUpParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Activation ¶
func Activation(input ActivationParams) (res schema.Response)
func ActivationRouter ¶
func DeleteUserByUserName ¶
func DeleteUserByUserName(username string)
func ResetPassword ¶
func ResetPassword(input ResetPasswordParams) (res schema.Response)
func ResetPasswordRouter ¶
func SignIn ¶
func SignIn(context controller.Context, input SignInParams) (res schema.Response)
func SignInRouter ¶
func SignUp ¶
func SignUp(input SignUpParams) (res schema.Response)
func SignUpRouter ¶
Types ¶
type ActivationParams ¶
type ActivationParams struct {
Code string `json:"code" valid:"required~请输入激活码;"`
}
type ResetPasswordParams ¶
type SignInParams ¶
Click to show internal directories.
Click to hide internal directories.