type pluginsStore … var draPlugins … // Get lets you retrieve a DRA Plugin by name. // This method is protected by a mutex. func (s *pluginsStore) get(pluginName string) *Plugin { … } // Set lets you save a DRA Plugin to the list and give it a specific name. // This method is protected by a mutex. func (s *pluginsStore) add(pluginName string, p *Plugin) (replaced bool) { … } // Delete lets you delete a DRA Plugin by name. // This method is protected by a mutex. func (s *pluginsStore) delete(pluginName string) *Plugin { … }