split daily schedule and interval

This commit is contained in:
Sam Lewis
2022-11-13 20:17:00 -05:00
parent 83998b5e7e
commit ced79559e5
7 changed files with 275 additions and 136 deletions

View File

@@ -21,7 +21,6 @@ type EventListener struct {
exceptionRanges []timeRange
}
// TODO: add state object as second arg
type EventListenerCallback func(*Service, *State, EventData)
type EventData struct {