Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewGreeterService, NewAccountService)
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type AccountService ¶
type AccountService struct { accountsvrpb.UnimplementedAccountsvrServer // contains filtered or unexported fields }
func NewAccountService ¶
func NewAccountService(uc *biz.AccountUseCase, logger log.Logger) *AccountService
func (*AccountService) Singup ¶
func (a *AccountService) Singup(context.Context, *accountsvrpb.SingupRequest) (*accountsvrpb.SingupReply, error)
type GreeterService ¶
type GreeterService struct { v1.UnimplementedGreeterServer // contains filtered or unexported fields }
GreeterService is a greeter service.
func NewGreeterService ¶
func NewGreeterService(uc *biz.GreeterUsecase, logger log.Logger) *GreeterService
NewGreeterService new a greeter service.
func (*GreeterService) SayHello ¶
func (s *GreeterService) SayHello(ctx context.Context, in *v1.HelloRequest) (*v1.HelloReply, error)
SayHello implements helloworld.GreeterServer
Click to show internal directories.
Click to hide internal directories.