Documentation ¶
Index ¶
- Variables
- func RunDispatcher(ctx context.Context, toDispatcher <-chan []Schedule, toFetcher chan<- Schedule)
- func RunFetchers(ctx context.Context, toFetcher <-chan Schedule, cnf *config.Config, ...)
- func RunFromURL(ctx context.Context, tsURL string, cnf *config.Config)
- func RunPlanner(ctx context.Context, toDispatcher chan<- []Schedule, cnf *config.Config)
- func RunScheduler(ctx context.Context, cnf *config.Config)
- type Rule
- type Schedule
- type StationID
Constants ¶
This section is empty.
Variables ¶
View Source
var JST = time.FixedZone("Asia/Tokyo", 9*60*60)
Functions ¶
func RunDispatcher ¶
func RunFetchers ¶
func RunPlanner ¶
Types ¶
type Rule ¶
type Rule struct { Name string StationID StationID Weekday time.Weekday StartHour int StartMinute int Duration time.Duration }
func (Rule) NextSchedules ¶
Click to show internal directories.
Click to hide internal directories.