client

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2022 License: MIT Imports: 14 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BalanceNode

func BalanceNode(f io.Reader, bufDs ipld.DAGService, cidBuilder cid.Builder) (node ipld.Node, err error)

BalanceNode split the file and store it in DAGService as node

func NewPoolClient

func NewPoolClient(addr, user, password string) (*dagPoolClient, error)

NewPoolClient new a dagPoolClient

Types

type PoolClient

type PoolClient interface {
	blockstore.Blockstore

	Close(ctx context.Context)
}

PoolClient is a DAGService interface

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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