node

package
v0.0.0-...-724b7ff Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateKeys

func GenerateKeys(cfg *config.Config, log *ipfsLog.ZapEventLogger)

func Initialize

func Initialize(log *ipfsLog.ZapEventLogger, cfg config.Config) host.Host

func InitializeIPFSNode

func InitializeIPFSNode(ctx context.Context, cfg *config.Config, log *ipfsLog.ZapEventLogger) (iface.CoreAPI, *core.IpfsNode)

func LoadConfig

func LoadConfig(yamlConfigFilePath *string, log *ipfsLog.ZapEventLogger) *config.Config

func LoadKeys

func LoadKeys(cfg *config.Config, log *ipfsLog.ZapEventLogger) (ecdsa.KeyPair, aes.Key)

func PubsubKeepRelayConnectionAlive

func PubsubKeepRelayConnectionAlive(ctx context.Context,
	ps *pubsub.PubSub, cfg *config.Config,
	log *ipfsLog.ZapEventLogger, host host.Host)

func SetupDHTDiscovery

func SetupDHTDiscovery(ctx context.Context, cfg *config.Config, host host.Host, bootstrapNode bool) *network.DHT

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL