Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserRepository ¶
type UserRepository interface { CreateUser(context.Context, *types.UserEntity) error GetUserByID(context.Context, string) (*types.UserEntity, error) GetUserByName(context.Context, string) (*types.UserEntity, error) DeleteByID(context.Context, string) error UpdateUser(context.Context, *types.UserEntity) error ChangePassword(context.Context, string, string, string) error }
UserRepository 用户仓库接口定义
Click to show internal directories.
Click to hide internal directories.