trigger

package
v0.0.56 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandlerFunc added in v0.0.56

type HandlerFunc func() error

type Trigger

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

func NewTrigger added in v0.0.52

func NewTrigger(duration time.Duration,
	name string,
	handler HandlerFunc) *Trigger

func (*Trigger) Name added in v0.0.52

func (o *Trigger) Name() string

func (*Trigger) Start

func (o *Trigger) Start() error

func (*Trigger) Stop

func (o *Trigger) Stop()

Jump to

Keyboard shortcuts

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