node

package
v0.6.28-beta.6 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartLocalIPFS

func StartLocalIPFS() error

StartLocalIPFS initializes a local IPFS node.

Types

type Callback

type Callback = config.NodeCallback

Callback is an alias for a common.NodeCallback

type IPFS

type IPFS = config.IPFSNode

IPFS is an alias for a common.IPFSNode.

type IPFSDocsStore

type IPFSDocsStore = iface.DocumentStore

IPFSDocsStore is an alias for a iface.DocumentStore.

func OpenDocumentStore

func OpenDocumentStore(ctx context.Context, controllerAddr string, opts *iface.CreateDocumentDBOptions) (IPFSDocsStore, error)

OpenDocumentStore creates a new IPFSDocsStore. This requires a valid Sonr Account Public Key.

type IPFSEventLogStore

type IPFSEventLogStore = iface.EventLogStore

IPFSEventLogStore is an alias for a iface.EventLogStore.

func OpenEventLogStore

func OpenEventLogStore(ctx context.Context, controllerAddr string) (IPFSEventLogStore, error)

OpenEventLogStore creates a new IPFSEventLogStore. This requires a valid Sonr Account Public Key.

type IPFSKVStore

type IPFSKVStore = iface.KeyValueStore

IPFSKVStore is an alias for a iface.KeyValueStore.

func OpenKeyValueStore

func OpenKeyValueStore(ctx context.Context, controllerAddr string) (IPFSKVStore, error)

OpenKeyValueStore creates a new IPFSKVStore. This requires a valid Sonr Account Public Key.

type P2P

type P2P = config.PeerNode

P2P is an alias for a common.P2PNode.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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