MCPcopy Create free account
hub / github.com/devfeel/dotweb / Plugin

Interface Plugin

plugin.go:12–16  ·  view source on GitHub ↗

Plugin a interface for app's global plugin

Source from the content-addressed store, hash-verified

10
11// Plugin a interface for app's global plugin
12type Plugin interface {
13 Name() string
14 Run() error
15 IsValidate() bool
16}
17
18// NewDefaultNotifyPlugin return new NotifyPlugin with default config
19func NewDefaultNotifyPlugin(app *DotWeb) *NotifyPlugin {

Callers 11

handlerNameFunction · 0.65
TestNotifyPlugin_NameFunction · 0.65
UsePluginMethod · 0.65
initPluginsMethod · 0.65
FileMethod · 0.65
mainFunction · 0.65
callerInfoFunction · 0.65
initPluginsMethod · 0.65
initPluginsMethod · 0.65

Implementers 2

testPluginplugin_test.go
NotifyPluginplugin.go

Calls

no outgoing calls

Tested by

no test coverage detected