Documentation ¶
Index ¶
- type UserServiceImpl
- func (i *UserServiceImpl) CreateUser(ctx context.Context, req *user.CreateUserRequest) (*user.User, error)
- func (i *UserServiceImpl) DeleteUser(ctx context.Context, req *user.DeleteUserRequest) (*user.User, error)
- func (i *UserServiceImpl) DescribeUser(ctx context.Context, req *user.DescribeUserRequest) (*user.User, error)
- func (i *UserServiceImpl) Init() error
- func (i *UserServiceImpl) Name() string
- func (i *UserServiceImpl) QueryUser(ctx context.Context, req *user.QueryUserRequest) (*types.Set[*user.User], error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserServiceImpl ¶
type UserServiceImpl struct {
ioc.ObjectImpl
}
他是user service 服务的控制器
func (*UserServiceImpl) CreateUser ¶
func (i *UserServiceImpl) CreateUser( ctx context.Context, req *user.CreateUserRequest) ( *user.User, error)
创建用户
func (*UserServiceImpl) DeleteUser ¶
func (i *UserServiceImpl) DeleteUser( ctx context.Context, req *user.DeleteUserRequest, ) (*user.User, error)
删除用户
func (*UserServiceImpl) DescribeUser ¶
func (i *UserServiceImpl) DescribeUser( ctx context.Context, req *user.DescribeUserRequest) ( *user.User, error)
查询用户详情
func (*UserServiceImpl) Init ¶
func (i *UserServiceImpl) Init() error
Click to show internal directories.
Click to hide internal directories.