The PluginDatabase interface for encapsulating database access.
| 16 | |
| 17 | // The PluginDatabase interface for encapsulating database access. |
| 18 | type PluginDatabase interface { |
| 19 | GetPluginConfByUser(userid uint) ([]*model.PluginConf, error) |
| 20 | UpdatePluginConf(p *model.PluginConf) error |
| 21 | GetPluginConfByID(id uint) (*model.PluginConf, error) |
| 22 | } |
| 23 | |
| 24 | // The PluginAPI provides handlers for managing plugins. |
| 25 | type PluginAPI struct { |
no outgoing calls
no test coverage detected
searching dependent graphs…