Versions in this module Expand all Collapse all v0 v0.1.1 Sep 27, 2019 v0.1.0 Sep 1, 2019 Changes in this version + func CreateUser(input CreateUserParams) (res schema.Response) + func CreateUserRouter(context *gin.Context) + func GenerateResetPayPasswordCode(uid string) string + func GetAvatarRouter(context *gin.Context) + func GetList(context controller.Context, input Query) (res schema.List) + func GetListRouter(context *gin.Context) + func GetProfile(context controller.Context) (res schema.Response) + func GetProfileByAdmin(context controller.Context, userId string) (res schema.Response) + func GetProfileByAdminRouter(context *gin.Context) + func GetProfileRouter(context *gin.Context) + func ResetPayPassword(context controller.Context, input ResetPayPasswordParams) (res schema.Response) + func ResetPayPasswordRouter(context *gin.Context) + func SendResetPayPassword(context controller.Context) (res schema.Response) + func SendResetPayPasswordRouter(context *gin.Context) + func SetPayPassword(context controller.Context, input SetPayPasswordParams) (res schema.Response) + func SetPayPasswordRouter(context *gin.Context) + func SignOut(context *gin.Context) + func UpdatePassword(context controller.Context, input UpdatePasswordParams) (res schema.Response) + func UpdatePasswordByAdmin(context controller.Context, userId string, input UpdatePasswordByAdminParams) (res schema.Response) + func UpdatePasswordByAdminRouter(context *gin.Context) + func UpdatePasswordRouter(context *gin.Context) + func UpdatePayPassword(context controller.Context, input UpdatePayPasswordParams) (res schema.Response) + func UpdatePayPasswordRouter(context *gin.Context) + func UpdateProfile(context controller.Context, input UpdateProfileParams) (res schema.Response) + func UpdateProfileByAdmin(context controller.Context, userId string, input UpdateProfileParams) (res schema.Response) + func UpdateProfileByAdminRouter(context *gin.Context) + func UpdateProfileRouter(context *gin.Context) + func UploadAvatar(uid string, input UploadAvatarParams, file *multipart.FileHeader) (res schema.Response) + func UploadAvatarRouter(context *gin.Context) + type CreateUserParams struct + Email *string + Gender model.Gender + Nickname *string + Password string + Phone *string + Username *string + type Query struct + type ResetPayPasswordParams struct + Code string + NewPassword string + type SetPayPasswordParams struct + Password string + PasswordConfirm string + type UpdatePasswordByAdminParams struct + NewPassword string + type UpdatePasswordParams struct + NewPassword string + OldPassword string + type UpdatePayPasswordParams struct + NewPassword string + OldPassword string + type UpdateProfileParams struct + Avatar *string + Gender *model.Gender + Nickname *string + type UploadAvatarParams struct + Immediately string