Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewGreeterService, NewGreeterJob)
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type GreeterJob ¶
type GreeterJob struct {
// contains filtered or unexported fields
}
func NewGreeterJob ¶
func NewGreeterJob(uc *biz.GreeterUsecase, ck *conf.Server) *GreeterJob
NewGreeterService new a greeter service.
func (*GreeterJob) Topic ¶
func (s *GreeterJob) Topic() string
type GreeterService ¶
type GreeterService struct { api.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 *api.HelloRequest) (*api.HelloReply, error)
SayHello implements helloworld.GreeterServer.
Click to show internal directories.
Click to hide internal directories.