 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin interface {
	// Name should return uniqe 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
}
    Plugin is base interface for all kinds of go-ipfs plugins It will be included in interfaces of different Plugins
type PluginIPLD ¶
type PluginIPLD interface {
	Plugin
	RegisterBlockDecoders(dec node.BlockDecoder) error
	RegisterInputEncParsers(iec coredag.InputEncParsers) error
}
    PluginIPLD is an interface that can be implemented to add handlers for for different IPLD formats
 Click to show internal directories. 
   Click to hide internal directories.