client

package
v0.1.19 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: GPL-3.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

View Source
const CidBufferSize = 64

Variables

View Source
var IpfsAddFile = func(cidPtr *byte, buf *byte, bufLen uint32) (error errno.Error) {
	return errno.ErrorNone
}
View Source
var IpfsGetFile = func(cid *byte, cidSize uint32, bufPtr *byte) (error errno.Error) {
	return errno.ErrorNone
}
View Source
var IpfsGetFileSize = func(cid *byte, cidSize uint32, size *uint32) (error errno.Error) {
	return errno.ErrorNone
}
View Source
var NewIPFSClient = func(clientId *uint32) (error errno.Error) {
	return errno.ErrorNone
}

Functions

This section is empty.

Types

type Client

type Client uint32

func New

func New() (Client, error)

func (Client) Add

func (Client) Add(data []byte) (cid.Cid, error)

func (Client) Get

func (Client) Get(stringCid string) (data []byte, err error)

Jump to

Keyboard shortcuts

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