Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackgroundRoutine ¶
type BackgroundRoutine interface { Post(task Task) Invoke(task Task) Timer(task Task, intervalValue time.Duration, offsetValue time.Duration) }
func NewBackgroundRoutine ¶
func NewBackgroundRoutine() BackgroundRoutine
NewBackgroundRoutine new Background routine
type GeneratorTask ¶
type GeneratorTask struct {
// contains filtered or unexported fields
}
func NewGeneratorTask ¶
func NewGeneratorTask(generator generator.Generator) *GeneratorTask
func (*GeneratorTask) Result ¶
func (s *GeneratorTask) Result() string
func (*GeneratorTask) Run ¶
func (s *GeneratorTask) Run()
Click to show internal directories.
Click to hide internal directories.