(nothing *PluginResponse, res *PluginResponse)
| 25 | } |
| 26 | |
| 27 | func (self *CoreRPC) GetPlugins(nothing *PluginResponse, res *PluginResponse) error { |
| 28 | for _, plugin := range self.engine.plugins { |
| 29 | p := *plugin |
| 30 | res.Plugins = append(res.Plugins, &SimplePluginRes{Name: p.GetName(), Version: p.GetVersion()}) |
| 31 | } |
| 32 | |
| 33 | return nil |
| 34 | } |
nothing calls this directly
no test coverage detected