mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-22 02:47:48 +08:00
This preloads the peerlog plugin in the ipfs binary, but keeps it disabled by default. To enabled it, set Enabled=true in its config. The motivation is to simplify building and deploying gateways, and for them to use binaries that are more similar to release bins.
22 lines
678 B
Go
22 lines
678 B
Go
package loader
|
|
|
|
import (
|
|
pluginbadgerds "github.com/ipfs/go-ipfs/plugin/plugins/badgerds"
|
|
pluginflatfs "github.com/ipfs/go-ipfs/plugin/plugins/flatfs"
|
|
pluginipldgit "github.com/ipfs/go-ipfs/plugin/plugins/git"
|
|
pluginlevelds "github.com/ipfs/go-ipfs/plugin/plugins/levelds"
|
|
pluginpeerlog "github.com/ipfs/go-ipfs/plugin/plugins/peerlog"
|
|
)
|
|
|
|
// DO NOT EDIT THIS FILE
|
|
// This file is being generated as part of plugin build process
|
|
// To change it, modify the plugin/loader/preload.sh
|
|
|
|
func init() {
|
|
Preload(pluginipldgit.Plugins...)
|
|
Preload(pluginbadgerds.Plugins...)
|
|
Preload(pluginflatfs.Plugins...)
|
|
Preload(pluginlevelds.Plugins...)
|
|
Preload(pluginpeerlog.Plugins...)
|
|
}
|