core

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent added in v0.1.3

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

func NewAgent added in v0.1.3

func NewAgent(params *param.Agent) *Agent

func (*Agent) Add added in v0.1.3

func (a *Agent) Add(schedule kernel.Schedule, schedules ...kernel.Schedule) error

func (*Agent) Remove added in v0.1.3

func (a *Agent) Remove(schedule kernel.Schedule) error

func (*Agent) Start added in v0.1.5

func (a *Agent) Start(ctx context.Context, tasker kernel.Tasker, selector kernel.Selector) (err error)

func (*Agent) Stop added in v0.1.5

func (a *Agent) Stop(ctx context.Context) error

Jump to

Keyboard shortcuts

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