store

package
v0.0.0-...-59f93d0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OutageStore

type OutageStore interface {
	RecordOutage(start, end time.Time) error
	GetLastPulse() (time.Time, error)
	Pulse() error
	Close() error
}

OutageStore is an interface for a place to store the data.

func NewSQLiteStore

func NewSQLiteStore(path string) (OutageStore, error)

Jump to

Keyboard shortcuts

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