github.com/wawandco/oxpecker@v1.5.7-0.20210910201653-5958d4afdd89/plugins/plugin.go (about) 1 package plugins 2 3 // Plugin interface is the base for the different plugins that can 4 // be attached to the plugin system. It is based on the `Name() string` method 5 // that will be useful for identification of the plugin. 6 // 7 // Other plugins (PluginReceivers) could specify other interfaces to identify 8 // plugins specific to what they do. 9 type Plugin interface { 10 Name() string 11 }