worker

package
v0.0.0-...-68e2928 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const IdTimerWorker = "worker-timer"

Variables

This section is empty.

Functions

func NewTimerWorker

func NewTimerWorker() (gone.Goner, gone.GonerId)

func Priest

func Priest(cemetery gone.Cemetery) error

Types

type PrintWorker

type PrintWorker interface {
	gone.Goner
	Print()
	GetContent() string
}

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

Jump to

Keyboard shortcuts

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