Documentation ¶
Overview ¶
Storage that periodicaly load shedules from YAML files in specified derectory.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CSVstorage ¶
type CSVstorage struct {
// contains filtered or unexported fields
}
func GetCSVStorage ¶
func (*CSVstorage) FillAllShedules ¶
func (o *CSVstorage) FillAllShedules() (shedules []models.SheduleSection, err error)
func (*CSVstorage) Run ¶
func (o *CSVstorage) Run(add chan models.SheduleSection, del chan string)
type YAMLstorage ¶
type YAMLstorage struct {
// contains filtered or unexported fields
}
func GetYAMLStorage ¶
func (*YAMLstorage) FillAllShedules ¶
func (o *YAMLstorage) FillAllShedules() (shedules map[string]models.SheduleSection, err error)
func (*YAMLstorage) Run ¶
func (o *YAMLstorage) Run(add chan models.SheduleSection, del chan string)
Click to show internal directories.
Click to hide internal directories.