cron

package
v0.0.0-...-50a2d83 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cron

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

func New

func New(movements dsd.AutoMovementSlice) *Cron

func (*Cron) Default

func (c *Cron) Default() error

func (*Cron) List

func (c *Cron) List() dsd.AutoMovementSlice

func (*Cron) Run

func (c *Cron) Run()

func (*Cron) Set

func (c *Cron) Set(movement *dsd.PtzAutoMovement) error

func (*Cron) Start

func (c *Cron) Start() <-chan ScheduleInfo

func (*Cron) Stop

func (c *Cron) Stop()

type ScheduleInfo

type ScheduleInfo struct {
	CronID     int
	Function   dsd.CronFunction
	FuncID     int
	AutoHoming int
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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