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)
Click to show internal directories.
Click to hide internal directories.