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

Struct PluginV1

plugin/compat/v1.go:11–14  ·  view source on GitHub ↗

PluginV1 is an abstraction of a plugin written in the v1 plugin API. Exported for testing purposes only.

Source from the content-addressed store, hash-verified

9
10// PluginV1 is an abstraction of a plugin written in the v1 plugin API. Exported for testing purposes only.
11type PluginV1 struct {
12 Info papiv1.Info
13 Constructor func(ctx papiv1.UserContext) papiv1.Plugin
14}
15
16// APIVersion returns the API version.
17func (c PluginV1) APIVersion() string {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected