ipfs

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	// contains filtered or unexported fields
}

func CreateNode

func CreateNode(repoPath string, args NodeConfArgs) (node *Node, err error)

CreateNode creates an IPFS node and returns its coreAPI

func (*Node) ID

func (n *Node) ID() string

type NodeConfArgs

type NodeConfArgs struct {
	Addr           string
	PeerID         string
	PrivKey        string
	SwarmKey       string
	BootstrapPeers []string
}

Jump to

Keyboard shortcuts

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