code: func (c *ServiceConfig) RegisterEventHandler(handler ServiceHandler) {
  	c.eventHandlers = append(c.eventHandlers, handler)
  }
docs: // RegisterEventHandler registers a handler which is called on every service change.