viewer

package
v0.0.0-...-3f52ee8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2023 License: BSD-3-Clause Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadFilters

func LoadFilters(ctx context.Context, db database.Database) ([]*filter, error)

func LoadNFTs

func LoadNFTs(ctx context.Context, db database.Database) ([]*thegraph.NFT, error)

func RemoveFilter

func RemoveFilter(ctx context.Context, db database.Database, t int64) error

func RemoveNFT

func RemoveNFT(ctx context.Context, db database.Database, id string) error

func Run

func Run(
	ctx context.Context,
	priv crypto.PrivateKey,
	db database.Database,
	ipfsDir string,
	servicerEndpoint string,
	indexEndpoint string,
	pending int,
) error

func StoreFilter

func StoreFilter(ctx context.Context, db database.Database, f *filter) error

func StoreNFT

func StoreNFT(ctx context.Context, db database.Database, n *thegraph.NFT) error

Types

type Viewer

type Viewer struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL