Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NFT ¶
type NFTQuery ¶
type NFTQuery struct { NFTContracts []struct { ID string `graphql:"id"` CreatedAt string `graphql:"createdAt"` Name string `graphql:"name"` Symbol string `graphql:"symbol"` NFTs []struct { TokenURI string `graphql:"tokenURI"` TokenID string `graphql:"tokenID"` } `graphql:"nfts"` } `graphql:"nftContracts(first: 10, orderBy:createdAt, orderDirection:asc, where:{createdAt_gt: $timestamp})"` }
type TheGraphClient ¶
type TheGraphClient struct {
// contains filtered or unexported fields
}
func (*TheGraphClient) Cat ¶
func (c *TheGraphClient) Cat(ctx context.Context, path string) (io.ReadCloser, error)
Cat the content at the given path. Callers need to drain and close the returned reader after usage. Inspired by: https://github.com/ipfs/go-ipfs-api/blob/cb1fca1e60b1fb653ad10dd77f10c48b55fea867/shell.go#L162
Click to show internal directories.
Click to hide internal directories.