Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewCenterInterface)
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type CenterInterface ¶
type CenterInterface struct { v1.UnimplementedCenterInterfaceServer // contains filtered or unexported fields }
func NewCenterInterface ¶
func NewCenterInterface(ac *biz.AuthUseCase, uc *biz.UserUseCase, logger log.Logger) *CenterInterface
func (*CenterInterface) Login ¶
func (c *CenterInterface) Login(ctx context.Context, req *v1.LoginReq) (*v1.LoginReply, error)
func (*CenterInterface) Logout ¶
func (c *CenterInterface) Logout(ctx context.Context, req *v1.LogoutReq) (*v1.LogoutReply, error)
func (*CenterInterface) Register ¶
func (c *CenterInterface) Register(ctx context.Context, req *v1.RegisterReq) (*v1.RegisterReply, error)
Click to show internal directories.
Click to hide internal directories.