Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Plugins = []plugin.Plugin{ NewCarMirrorPlugin(), }
Plugins is an exported list of plugins that will be loaded by kubo
Functions ¶
This section is empty.
Types ¶
type CarMirrorPlugin ¶
type CarMirrorPlugin struct { // Log level LogLevel string // HTTPCommandsAddr is the address CAR Mirror will listen on for local commands, which are application concerns. // Defaults to `127.0.0.1:2502`. HTTPCommandsAddr string // HTTPRemoteAddr is the address CAR Mirror will listen on for remote requests, which are protocol concerns. // Defaults to `:2503`. HTTPRemoteAddr string MaxBlocksPerRound uint32 MaxBlocksPerColdCall uint32 // contains filtered or unexported fields }
CarMirrorPlugin is an exported struct IPFS will load & work with
func NewCarMirrorPlugin ¶
func NewCarMirrorPlugin() *CarMirrorPlugin
NewCarMirrorPlugin creates a CarMirrorPlugin with some sensible defaults
func (*CarMirrorPlugin) Close ¶
func (p *CarMirrorPlugin) Close() error
func (*CarMirrorPlugin) Init ¶
func (p *CarMirrorPlugin) Init(env *plugin.Environment) error
func (*CarMirrorPlugin) Name ¶
func (*CarMirrorPlugin) Name() string
func (*CarMirrorPlugin) Version ¶
func (*CarMirrorPlugin) Version() string
Click to show internal directories.
Click to hide internal directories.