Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet( NewGreeterService, )
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type GreeterService ¶
type GreeterService struct { v1.UnimplementedGreeterServer // contains filtered or unexported fields }
GreeterService is a greeter service.
func NewGreeterService ¶
func NewGreeterService(uc greeter.IUseCase, logger log.Logger) *GreeterService
NewGreeterService new a greeter service.
func (*GreeterService) Ping ¶
func (s *GreeterService) Ping(context.Context, *emptypb.Empty) (*v1.HelloReply, error)
Ping implements v1.GreeterServer and v1.GreeterHTTPServer
func (*GreeterService) SayHello ¶
func (s *GreeterService) SayHello(ctx context.Context, in *v1.HelloRequest) (*v1.HelloReply, error)
SayHello implements v1.GreeterServer and v1.GreeterHTTPServer
Click to show internal directories.
Click to hide internal directories.