Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSetService = wire.NewSet( NewGreeterService, NewHelloService, )
ProviderSetService 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 *biz.GreeterUsecase) *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.
type HelloService ¶
type HelloService struct { v1api.UnimplementedHelloServer // contains filtered or unexported fields }
HelloService is a greeter service.
func NewHelloService ¶
func NewHelloService(helloBiz *biz.HelloBiz) *HelloService
NewHelloService new a greeter service.
func (*HelloService) SayHello ¶
func (s *HelloService) SayHello(ctx context.Context, req *v1api.SayHelloRequest) (*v1api.SayHelloReply, error)
SayHello implements helloworld.GreeterServer
Click to show internal directories.
Click to hide internal directories.