Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Plugins = []plugin.Plugin{ &CIDTrack{}, }
Plugins is an exported list of plugins that will be loaded by go-ipfs.
Functions ¶
This section is empty.
Types ¶
type CIDTrack ¶
type CIDTrack struct {
// contains filtered or unexported fields
}
CIDTrack is a Per CID bandwidth tracker
func (*CIDTrack) Init ¶
func (c *CIDTrack) Init(env *plugin.Environment) error
Init is called once when the Plugin is being loaded The plugin is passed an environment containing the path to the (possibly uninitialized) IPFS repo and the plugin's config.
Click to show internal directories.
Click to hide internal directories.