Documentation
¶
Index ¶
- func AddItem(t time.Time, x interface{}, callback ScheduleCallback)
- func Clear()
- func GetLocalTime(t time.Time) (localTime time.Time)
- func SetLocationCallback(callback LocationCallback)
- func SetScheduleDay(callback ScheduleDay)
- func Sort()
- func Trigger(t time.Time)
- type LocationCallback
- type ScheduleCallback
- type ScheduleDay
- type ScheduleItemSlice
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddItem ¶
func AddItem(t time.Time, x interface{}, callback ScheduleCallback)
func SetLocationCallback ¶
func SetLocationCallback(callback LocationCallback)
func SetScheduleDay ¶
func SetScheduleDay(callback ScheduleDay)
Types ¶
type LocationCallback ¶
type ScheduleCallback ¶
type ScheduleCallback func(x interface{})
type ScheduleDay ¶
type ScheduleItemSlice ¶
type ScheduleItemSlice []scheduleItem
func GetSchedules ¶
func GetSchedules() (schedules ScheduleItemSlice)
func (ScheduleItemSlice) Len ¶
func (p ScheduleItemSlice) Len() int
func (ScheduleItemSlice) Less ¶
func (p ScheduleItemSlice) Less(i, j int) bool
func (ScheduleItemSlice) Swap ¶
func (p ScheduleItemSlice) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.