alarm

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(alm *table.Alarm, now time.Time, baseMinuteDuration int) (bool, error)

Types

type AlarmManager

type AlarmManager struct {
	Alarms []table.Alarm
	Bot    *linebot.LineBot
}

func New

func New() (*AlarmManager, error)

func (*AlarmManager) Run

func (am *AlarmManager) Run() error

Jump to

Keyboard shortcuts

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