Documentation ¶
Index ¶
- Variables
- type AccountService
- type AccountUserService
- func (s *AccountUserService) CreateAccountUser(ctx context.Context, req *v1.CreateAccountUserReq) (*v1.AccountUser, error)
- func (s *AccountUserService) DeleteAccountUser(ctx context.Context, req *v1.DeleteAccountUserReq) (*emptypb.Empty, error)
- func (s *AccountUserService) GetAccountUser(ctx context.Context, req *v1.GetAccountUserReq) (*v1.AccountUser, error)
- func (s *AccountUserService) ListAccountUser(ctx context.Context, req *v1.ListAccountUserReq) (*v1.ListAccountUserResp, error)
- func (s *AccountUserService) PageListAccountUser(ctx context.Context, req *v1.PageListAccountUserReq) (*v1.PageListAccountUserResp, error)
- func (s *AccountUserService) UpdateAccountUser(ctx context.Context, req *v1.UpdateAccountUserReq) (*v1.AccountUser, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewAccountService, NewAccountUserService)
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type AccountService ¶
type AccountService struct { v1.UnimplementedAccountServiceServer // contains filtered or unexported fields }
func NewAccountService ¶
func NewAccountService(logger log.Logger, accountUserUseCase *biz.AccountUserUseCase, authUseCase *biz.AuthUseCase) *AccountService
func (*AccountService) Register ¶
func (s *AccountService) Register(ctx context.Context, req *pb.RegisterReq) (*pb.RegisterResp, error)
type AccountUserService ¶
type AccountUserService struct { v1.UnimplementedAccountUserServiceServer // contains filtered or unexported fields }
func NewAccountUserService ¶
func NewAccountUserService(logger log.Logger, accountUserUseCase *biz.AccountUserUseCase) *AccountUserService
func (*AccountUserService) CreateAccountUser ¶
func (s *AccountUserService) CreateAccountUser(ctx context.Context, req *v1.CreateAccountUserReq) (*v1.AccountUser, error)
func (*AccountUserService) DeleteAccountUser ¶
func (s *AccountUserService) DeleteAccountUser(ctx context.Context, req *v1.DeleteAccountUserReq) (*emptypb.Empty, error)
func (*AccountUserService) GetAccountUser ¶
func (s *AccountUserService) GetAccountUser(ctx context.Context, req *v1.GetAccountUserReq) (*v1.AccountUser, error)
func (*AccountUserService) ListAccountUser ¶
func (s *AccountUserService) ListAccountUser(ctx context.Context, req *v1.ListAccountUserReq) (*v1.ListAccountUserResp, error)
func (*AccountUserService) PageListAccountUser ¶
func (s *AccountUserService) PageListAccountUser(ctx context.Context, req *v1.PageListAccountUserReq) (*v1.PageListAccountUserResp, error)
func (*AccountUserService) UpdateAccountUser ¶
func (s *AccountUserService) UpdateAccountUser(ctx context.Context, req *v1.UpdateAccountUserReq) (*v1.AccountUser, error)
Click to show internal directories.
Click to hide internal directories.