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

Interface Notifier

plugin/manager.go:42–44  ·  view source on GitHub ↗

Notifier notifies when a new message was created.

Source from the content-addressed store, hash-verified

40
41// Notifier notifies when a new message was created.
42type Notifier interface {
43 Notify(userID uint, message *model.MessageExternal)
44}
45
46// Manager is an encapsulating layer for plugins and manages all plugins and its instances.
47type Manager struct {

Callers

nothing calls this directly

Implementers 4

ManagerSuiteplugin/manager_test.go
MessageSuiteapi/message_test.go
PluginSuiteapi/plugin_test.go
APIapi/stream/stream.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…