Documentation ¶
Overview ¶
Pinata is another freemium pinning service. It gives you more control over what's uploaded. You can delete, label and add custom metadata. This service requires signup. https://www.pinata.cloud/documentation
Index ¶
Constants ¶
View Source
const ( PIN_FILE_URL = "https://api.pinata.cloud/pinning/pinFileToIPFS" PIN_HASH_URL = "https://api.pinata.cloud/pinning/pinByHash" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pinata ¶
Pinata represents a Pinata configuration.
func (*Pinata) PinFile ¶
PinFile pins content to Pinata by providing a file path, it returns an IPFS hash and an error.
func (*Pinata) PinHash ¶
PinHash pins content to Pinata by giving an IPFS hash, it returns the result and an error.
func (*Pinata) PinWithBytes ¶
PinWithBytes pins content to Infura by given byte slice, it returns an IPFS hash and an error.
Click to show internal directories.
Click to hide internal directories.