Documentation
¶
Index ¶
Constants ¶
View Source
const ( Msg1 string = "ayok guys, ditunggu standup daily-nya" Msg2 string = "Mari teman-teman, ditungguin standup daily-nya ya!" Msg3 string = "daily daily .." Msg4 string = "guys, daily standup sekarang" Msg5 string = "yok, daily standup guys" Msg6 string = "kindly reminder buat yang belum daily" )
Variables ¶
This section is empty.
Functions ¶
func GetScheduleMsg ¶
GetScheduleMsg returns a raw message (string)
Types ¶
type Scheduler ¶
type Scheduler struct {
gocron.Scheduler
// contains filtered or unexported fields
}
func BuildScheduler ¶
BuildScheduler builds scheduler
func (*Scheduler) AddJobOneTimeTask ¶
AddJobOneTimeTask adds a new job to run a one time task
func (*Scheduler) BuildAtTime ¶
BuildAtTime builds gocron AtTime object
func (*Scheduler) DoPeriodicLogging ¶
func (sch *Scheduler) DoPeriodicLogging()
DoPeriodicLogging executes log message periodically
Click to show internal directories.
Click to hide internal directories.