github.com/Consensys/quorum@v21.1.0+incompatible/plugin/api.go (about) 1 package plugin 2 3 type PluginManagerAPI struct { 4 pm *PluginManager 5 } 6 7 func NewPluginManagerAPI(pm *PluginManager) *PluginManagerAPI { 8 return &PluginManagerAPI{ 9 pm: pm, 10 } 11 } 12 13 func (pmapi *PluginManagerAPI) ReloadPlugin(name PluginInterfaceName) (bool, error) { 14 return pmapi.pm.Reload(name) 15 }