MCPcopy Index your code
hub / github.com/gotify/server / NewPluginInstance

Method NewPluginInstance

plugin/compat/plugin.go:6–6  ·  view source on GitHub ↗
(ctx UserContext)

Source from the content-addressed store, hash-verified

4type Plugin interface {
5 PluginInfo() Info
6 NewPluginInstance(ctx UserContext) PluginInstance
7 APIVersion() string
8}
9

Callers 7

TestInstantiatePluginMethod · 0.65
TestGetCapabilitiesMethod · 0.65
TestSetConfigMethod · 0.65
TestRegisterWebhookMethod · 0.65
TestEnableDisableMethod · 0.65
TestGetDisplayMethod · 0.65

Implementers 2

PluginV1plugin/compat/v1.go
Pluginplugin/testing/mock/mock.go

Calls

no outgoing calls

Tested by 6

TestInstantiatePluginMethod · 0.52
TestGetCapabilitiesMethod · 0.52
TestSetConfigMethod · 0.52
TestRegisterWebhookMethod · 0.52
TestEnableDisableMethod · 0.52
TestGetDisplayMethod · 0.52