Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NftstorageClient ¶
NftstorageClient struct to hold client
func NewClientFromEnvironment ¶
func NewClientFromEnvironment() NftstorageClient
NewClientFromEnvironment create new nftkeyme client using env vars
func (NftstorageClient) IpfsAdd ¶
func (client NftstorageClient) IpfsAdd(filePath string) (*StoreResponse, error)
type StoreResponse ¶
type StoreResponse struct {
Value StoreResponseValue `json:"value"`
}
type StoreResponseValue ¶
type StoreResponseValue struct {
Pin StoreResponseValuePin `json:"pin"`
}
type StoreResponseValuePin ¶
type StoreResponseValuePin struct {
CID string `json:"cid"`
}
Click to show internal directories.
Click to hide internal directories.