Documentation ¶
Index ¶
- type ControllerSchedule
- func (cs *ControllerSchedule) ContGetSchedulingStatus() string
- func (cs *ControllerSchedule) ContRemove(command slack.CommandInfo) (err error)
- func (cs *ControllerSchedule) ContSet(id string, cronSched string, command slack.CommandInfo, newSched bool) (err error)
- func (cs *ControllerSchedule) DeleteOtherPowerMessage(name string, timestamp string) error
- func (cs *ControllerSchedule) DeletePowerMessage() error
- func (cs *ControllerSchedule) LoadPowerMessagefromDB() error
- func (cs *ControllerSchedule) LoadSchedsfromDB() (records []scheduleRecord, err error)
- func (cs *ControllerSchedule) ModifyPowerMessage(name string, status string) error
- func (cs *ControllerSchedule) PostPowerMessage(channel string, name string, status string) (err error)
- type Schedule
- type ScheduleTracker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControllerSchedule ¶
type ControllerSchedule struct { Set bool Logger *log.Entry Sched map[string]*Schedule DbPath []string // contains filtered or unexported fields }
func (*ControllerSchedule) ContGetSchedulingStatus ¶
func (cs *ControllerSchedule) ContGetSchedulingStatus() string
func (*ControllerSchedule) ContRemove ¶
func (cs *ControllerSchedule) ContRemove(command slack.CommandInfo) (err error)
func (*ControllerSchedule) ContSet ¶
func (cs *ControllerSchedule) ContSet(id string, cronSched string, command slack.CommandInfo, newSched bool) (err error)
func (*ControllerSchedule) DeleteOtherPowerMessage ¶
func (cs *ControllerSchedule) DeleteOtherPowerMessage(name string, timestamp string) error
func (*ControllerSchedule) DeletePowerMessage ¶
func (cs *ControllerSchedule) DeletePowerMessage() error
func (*ControllerSchedule) LoadPowerMessagefromDB ¶
func (cs *ControllerSchedule) LoadPowerMessagefromDB() error
func (*ControllerSchedule) LoadSchedsfromDB ¶
func (cs *ControllerSchedule) LoadSchedsfromDB() (records []scheduleRecord, err error)
func (*ControllerSchedule) ModifyPowerMessage ¶
func (cs *ControllerSchedule) ModifyPowerMessage(name string, status string) error
func (*ControllerSchedule) PostPowerMessage ¶
func (cs *ControllerSchedule) PostPowerMessage(channel string, name string, status string) (err error)
type ScheduleTracker ¶
type ScheduleTracker struct {
// contains filtered or unexported fields
}
func CreateScheduleTracker ¶
func CreateScheduleTracker() (st *ScheduleTracker)
func (*ScheduleTracker) Reciever ¶
func (st *ScheduleTracker) Reciever()
Click to show internal directories.
Click to hide internal directories.