Documentation
¶
Index ¶
Constants ¶
View Source
const IdTimerWorker = "worker-timer"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PrintWorker ¶
func NewPrintWorker ¶
func NewPrintWorker() PrintWorker
type TimerWorker ¶
type TimerWorker struct { gone.Flag logrus.Logger `gone:"gone-logger"` Ttl int `gone:"config,example.app.print.ttl"` // contains filtered or unexported fields }
func (*TimerWorker) AfterRevive ¶
func (w *TimerWorker) AfterRevive() gone.AfterReviveError
Click to show internal directories.
Click to hide internal directories.