crontimer

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const TrigPollSite common.TriggerName = "Polling Notifiarr for new settings."

TrigPollSite is our site polling trigger identifier.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

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

Action contains the exported methods for this package.

func New

func New(config *common.Config) *Action

New configures the library.

func (*Action) Create

func (a *Action) Create()

Create initializes the library.

func (*Action) List

func (a *Action) List() []*Timer

List returns a list of active triggers that can be executed.

type Timer

type Timer struct {
	*clientinfo.CronConfig
	// contains filtered or unexported fields
}

Timer is used to trigger actions.

func (*Timer) Run

func (t *Timer) Run(input *common.ActionInput)

Run fires a custom cron timer (GET).

Jump to

Keyboard shortcuts

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