Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScheduleDAO ¶
type ScheduleDAO interface { GetByName(string) (*com.ScheduleBlueprint, error) Save(s *com.ScheduleBlueprint) error LoadScheduleBlueprints() ([]com.ScheduleBlueprint, error) EventsAfter(t time.Time) (chan com.Event, error) SaveEvent(e *com.Event) error }
ScheduleDAO is the interface to store and retrieve schedueles from some type of storage.
func NewScheduleDAO ¶
func NewScheduleDAO(cfg *config.Config) (ScheduleDAO, error)
NewScheduleDAO returns a new NewScheduleDAO based on the given configuration.
Click to show internal directories.
Click to hide internal directories.