code: func New(c *choria.Framework, conn choria.PublishableConnector, logger *logrus.Entry) *Manager {
  	r := &Manager{
  		log:       logger.WithFields(logrus.Fields{"subsystem": "registration"}),
  		choria:    c,
  		cfg:       c.Config,
  		connector: conn,
  		datac:     make(chan *data.RegistrationItem, 1),
  	}
  
  	return r
  }
docs: // New creates a new instance of the registration subsystem manager