Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataFactory ¶
type DataFactory interface {
User() UserData
}
type UserData ¶
type UserData interface { Create(ctx context.Context, user *User) (userInfo *v1.UserInfoResponse, err error) Update(ctx context.Context, user *User) error Get(ctx context.Context, userID int32) (*User, error) GetByMobile(ctx context.Context, mobile string) (*User, error) CheckPassWord(ctx context.Context, password, encryptedPwd string) (ok bool, err error) }
type UserListDO ¶
Click to show internal directories.
Click to hide internal directories.