Documentation ¶
Index ¶
Constants ¶
View Source
const (
IpfsLinkPrefix = "ipfs://"
)
prefix
Variables ¶
View Source
var ( ErrInvalidURI = errors.New("invalid URI") ErrEmptyIPFSGatewayList = errors.New("empty IPFS gateway list") ErrHTTPRequest = errors.New("HTTP request error") ErrJSONDecoding = errors.New("JSON decoding error") ErrNoIPFSResponse = errors.New("can't load document from IPFS") ErrInvalidCID = errors.New("invalid CID") )
Errors
Functions ¶
func ShuffleGateways ¶
ShuffleGateways - shuffle gateways for different request order for different files
Types ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
Node -
Click to show internal directories.
Click to hide internal directories.