Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserRepository ¶
type UserRepository interface { GetUserByName(ctx shared.RepositoryContext, name string) (*entity.User, error) GetUserRoles(ctx shared.RepositoryContext, id string) ([]*entity.Role, error) CreateUser(ctx shared.RepositoryContext, user *entity.User) error }
UserRepository 用户资源库接口
Click to show internal directories.
Click to hide internal directories.