CreatePluginConf creates a new plugin configuration.
(p *model.PluginConf)
| 43 | |
| 44 | // CreatePluginConf creates a new plugin configuration. |
| 45 | func (d *GormDatabase) CreatePluginConf(p *model.PluginConf) error { |
| 46 | return d.DB.Create(p).Error |
| 47 | } |
| 48 | |
| 49 | // GetPluginConfByToken gets plugin configuration by plugin token. |
| 50 | func (d *GormDatabase) GetPluginConfByToken(token string) (*model.PluginConf, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected