runner

package
v0.0.0-...-b957f84 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

type Runner struct {
	// contains filtered or unexported fields
}

Runner the tob runner

func NewRunner

func NewRunner(configs config.Config, verbose bool) (*Runner, error)

NewRunner Runner's constructor

func (*Runner) Add

func (r *Runner) Add(service tob.Service)

Add will add new service to Runner

func (*Runner) InitServices

func (r *Runner) InitServices() error

InitServices will init initial services

func (*Runner) Run

func (r *Runner) Run(ctx context.Context)

Run will Run the tob Runner

func (*Runner) Stop

func (r *Runner) Stop() chan<- bool

Stop will receive stop channel

Jump to

Keyboard shortcuts

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