trigger

package
v0.0.55 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandleFunc

type HandleFunc 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,
	handle HandleFunc) *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