package
0.14.5
Repository: https://github.com/ipfs/ipfs-cluster.git
Documentation: pkg.go.dev

# Packages

Package client provides a Go Client for the IPFS Cluster API provided by the "api/rest" component.

# Functions

NewAPI creates a new REST API component.
NewAPI creates a new REST API component using the given libp2p Host.
NewConfig creates a Config object setting the necessary meta-fields in the common.Config embedded object.

# Constants

Default values for Config.
Default values for Config.
Default values for Config.
Default values for Config.
Default values for Config.

# Variables

CORS defaults.
rs/cors this will set sensible defaults when empty: {"Origin", "Accept", "Content-Type", "X-Requested-With"}.
CORS defaults.
CORS defaults.
CORS defaults.
0.
Default values for Config.
DefaultHTTPListenAddrs contains default listen addresses for the HTTP API.

# Structs

API implements the REST API Component.
Config fully implements the config.ComponentConfig interface.