func (c *Coordinator) Init(cfg cfg.Config) {
	c.config = cfg
	log.Printf("Initialized coordinator with configuration: %v", cfg)
	c.caller = defaultCaller(cfg.Target)
	d := time.Duration(cfg.Interval) * time.Second
	c.ticker = time.NewTicker(d)
	log.Printf("Setting ticker for update interval to %v seconds.", d)
}
// Init sets up the Coordinator with its required values
Init sets up the Coordinator with its required values
// Init sets up the Coordinator with its required values
func (c *Coordinator) Init(cfg cfg.Config) {
	c.config = cfg
	log.Printf("Initialized coordinator with configuration: %v", cfg)
	c.caller = defaultCaller(cfg.Target)
	d := time.Duration(cfg.Interval) * time.Second
	c.ticker = time.NewTicker(d)
	log.Printf("Setting ticker for update interval to %v seconds.", d)
}
func ( c * Coordinator ) Init ( cfg cfg . Config ) { c . config = cfg log . Printf ( " " , cfg ) c . caller = defaultCaller ( cfg . Target ) d := time . Duration ( cfg . Interval ) * time . Second c . ticker = time . NewTicker ( d ) log . Printf ( " " , d ) }
Init sets up the Coordinator with its required values
Init sets up the Coordinator with its required values