service

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2022 License: MIT Imports: 5 Imported by: 0

README

Service

业务逻辑层

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultJobs map[string]*asynq.Task

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

type JobFunc

type JobFunc func()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL