1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-08-15 11:56:15 +08:00
Files
kubo/plugin/plugin.go
Łukasz Magiera b290286dd7 misc: Fix a few typos
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-30 09:47:22 +02:00

13 lines
363 B
Go

package plugin
// Plugin is base interface for all kinds of go-ipfs plugins
// It will be included in interfaces of different Plugins
type Plugin interface {
// Name should return unique name of the plugin
Name() string
// Version returns current version of the plugin
Version() string
// Init is called once when the Plugin is being loaded
Init() error
}