MCPcopy
hub / github.com/gotify/server / PluginDatabase

Interface PluginDatabase

api/plugin.go:18–22  ·  view source on GitHub ↗

The PluginDatabase interface for encapsulating database access.

Source from the content-addressed store, hash-verified

16
17// The PluginDatabase interface for encapsulating database access.
18type 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.
25type PluginAPI struct {

Implementers 1

GormDatabasedatabase/database.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…