Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultJobs map[string]*asynq.Task
View Source
var ProviderSet = wire.NewSet(NewGreeterService, NewCronJobService)
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type CronJobService ¶
type CronJobService struct { }
func NewCronJobService ¶
func NewCronJobService() *CronJobService
func (*CronJobService) RegisterTask ¶
func (s *CronJobService) RegisterTask()
RegisterTask register task
type GreeterService ¶
type GreeterService struct {
hello.UnimplementedGreeterServer
}
func NewGreeterService ¶
func NewGreeterService() *GreeterService
func (*GreeterService) SayHello ¶
func (s *GreeterService) SayHello(ctx context.Context, req *hello.HelloRequest) (*hello.HelloReply, error)
Click to show internal directories.
Click to hide internal directories.