Documentation
¶
Index ¶
- Variables
- type CenterAdmin
- func (c *CenterAdmin) ActivateUser(ctx context.Context, req *v1.UserIdReq) (*v1.UserOkReply, error)
- func (c *CenterAdmin) DeactivateUser(ctx context.Context, req *v1.UserIdReq) (*v1.UserOkReply, error)
- func (c *CenterAdmin) GetUser(ctx context.Context, req *v1.GetUserReq) (*v1.GetUserReply, error)
- func (c *CenterAdmin) ListUser(ctx context.Context, req *v1.ListUserReq) (*v1.ListUserReply, error)
- func (c *CenterAdmin) Login(ctx context.Context, req *v1.LoginReq) (*v1.LoginReply, error)
- func (c *CenterAdmin) Logout(ctx context.Context, req *v1.LogoutReq) (*v1.LogoutReply, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewCenterAdmin)
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type CenterAdmin ¶
type CenterAdmin struct { v1.UnimplementedCenterAdminServer // contains filtered or unexported fields }
func NewCenterAdmin ¶
func NewCenterAdmin(uc *biz.UserUseCase, ac *biz.AuthUseCase, logger log.Logger) *CenterAdmin
func (*CenterAdmin) ActivateUser ¶
func (c *CenterAdmin) ActivateUser(ctx context.Context, req *v1.UserIdReq) (*v1.UserOkReply, error)
func (*CenterAdmin) DeactivateUser ¶
func (c *CenterAdmin) DeactivateUser(ctx context.Context, req *v1.UserIdReq) (*v1.UserOkReply, error)
func (*CenterAdmin) GetUser ¶
func (c *CenterAdmin) GetUser(ctx context.Context, req *v1.GetUserReq) (*v1.GetUserReply, error)
func (*CenterAdmin) ListUser ¶
func (c *CenterAdmin) ListUser(ctx context.Context, req *v1.ListUserReq) (*v1.ListUserReply, error)
func (*CenterAdmin) Login ¶
func (c *CenterAdmin) Login(ctx context.Context, req *v1.LoginReq) (*v1.LoginReply, error)
func (*CenterAdmin) Logout ¶
func (c *CenterAdmin) Logout(ctx context.Context, req *v1.LogoutReq) (*v1.LogoutReply, error)
Click to show internal directories.
Click to hide internal directories.