code: func New(parsedConfig *Config, manager *plugins.Manager) *Plugin {
  
  	plugin := &Plugin{
  		manager:  manager,
  		config:   *parsedConfig,
  		bundleCh: make(chan bundle.Status),
  		discoCh:  make(chan bundle.Status),
  		stop:     make(chan chan struct{}),
  		reconfig: make(chan interface{}),
  	}
  
  	return plugin
  }
docs: // New returns a new Plugin with the given config.