Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearErrors ¶
func ClearErrors(conf *config.Config, msgFactory storage.MessageFactory)
ClearErrors 清理错误日志
func ClearJobHistory ¶
func ClearJobHistory(conf *config.Config, historyStore storage.JobHistoryStore)
ClearJobHistory 清理任务执行历史纪录
func NewDingdingConsumer ¶
func NewDingdingConsumer(cc *container.Container) period_job.Job
NewDingdingConsumer create a new DingdingConsumer
Types ¶
type DingdingConsumer ¶
type DingdingConsumer struct {
// contains filtered or unexported fields
}
DingdingConsumer is a job used to consuming dingding jobs
func (*DingdingConsumer) Handle ¶
func (d *DingdingConsumer) Handle()
type ServiceProvider ¶
type ServiceProvider struct{}
func (*ServiceProvider) Boot ¶
func (s *ServiceProvider) Boot(app *glacier.Glacier)
func (*ServiceProvider) Register ¶
func (s *ServiceProvider) Register(app *container.Container)
Click to show internal directories.
Click to hide internal directories.