store

package
v0.0.0-...-09f08f6 Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotPresent = errors.New("no such schedule")

Functions

This section is empty.

Types

type ScheduleStore

type ScheduleStore interface {
	Get(id string) (*model.Schedule, error)
	InsertOrUpdate(sched *model.Schedule) error
	Delete(id string) error
	Iterate(iterFunc func(sched *model.Schedule) error) error
}

func New

func New(path string) (ScheduleStore, error)

Jump to

Keyboard shortcuts

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