Documentation ¶
Index ¶
- Variables
- type AccountService
- func (svc *AccountService) AuthFuncOverride(ctx context.Context, fullMethodName string) (context.Context, error)
- func (svc *AccountService) GetByID(ctx context.Context, in *v1.GetByIDReq) (*v1.GetByIDResp, error)
- func (svc *AccountService) GetMiniQRCode(ctx context.Context, in *v1.GetMiniQRCodeReq) (*v1.GetMiniQRCodeResp, error)
- func (svc *AccountService) Login(ctx context.Context, in *v1.LoginReq) (*v1.LoginResp, error)
- func (svc *AccountService) MiniLogin(ctx context.Context, in *v1.MiniLoginReq) (*v1.MiniLoginResp, error)
- func (svc *AccountService) Ping(ctx context.Context, in *v1.Empty) (*v1.Result, error)
- func (svc *AccountService) SendVerificationCode(ctx context.Context, in *v1.SendVerificationCodeReq) (*v1.Empty, error)
- func (svc *AccountService) UpdatesUser(ctx context.Context, in *v1.UpdatesUserReq) (*v1.Empty, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewAccountService)
Functions ¶
This section is empty.
Types ¶
type AccountService ¶
type AccountService struct { v1.UnimplementedAccountServer // contains filtered or unexported fields }
func NewAccountService ¶
func NewAccountService(conf configs.Interface, accountRepo repository.AccountRepo, logger *xlog.Logger) *AccountService
func (*AccountService) AuthFuncOverride ¶
func (*AccountService) GetByID ¶
func (svc *AccountService) GetByID(ctx context.Context, in *v1.GetByIDReq) (*v1.GetByIDResp, error)
func (*AccountService) GetMiniQRCode ¶
func (svc *AccountService) GetMiniQRCode(ctx context.Context, in *v1.GetMiniQRCodeReq) (*v1.GetMiniQRCodeResp, error)
func (*AccountService) MiniLogin ¶
func (svc *AccountService) MiniLogin(ctx context.Context, in *v1.MiniLoginReq) (*v1.MiniLoginResp, error)
func (*AccountService) SendVerificationCode ¶
func (svc *AccountService) SendVerificationCode(ctx context.Context, in *v1.SendVerificationCodeReq) (*v1.Empty, error)
func (*AccountService) UpdatesUser ¶
func (svc *AccountService) UpdatesUser(ctx context.Context, in *v1.UpdatesUserReq) (*v1.Empty, error)
Click to show internal directories.
Click to hide internal directories.