web3_storage

package
v0.0.0-...-1e55c69 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Web3Storage

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

func New

func New() (*Web3Storage, error)

func (*Web3Storage) Close

func (a *Web3Storage) Close() error

func (*Web3Storage) Get

func (a *Web3Storage) Get(ctx context.Context, cidStr string) (data []byte, err error)

func (*Web3Storage) Put

func (a *Web3Storage) Put(ctx context.Context, data []byte) (cid string, err error)

Jump to

Keyboard shortcuts

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