metadata

package
v0.0.0-...-b400eb5 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpClient

type HttpClient interface {
	Get(url string) (resp *http.Response, err error)
}

type OrderMetadataConsumer

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

func NewOrderMetadataConsumer

func NewOrderMetadataConsumer(rpcURL string, db *gorm.DB, concurrency int) (*OrderMetadataConsumer, error)

func NewRawOrderMetadataConsumer

func NewRawOrderMetadataConsumer(conn bind.ContractBackend, client HttpClient, db *gorm.DB, concurrency int) (*OrderMetadataConsumer, error)

func (*OrderMetadataConsumer) Consume

func (consumer *OrderMetadataConsumer) Consume(msg channels.Delivery)

func (*OrderMetadataConsumer) ProcessAssetData

func (consumer *OrderMetadataConsumer) ProcessAssetData(data *types.AssetData)

type TokenURIGetter

type TokenURIGetter interface {
	TokenURI(_tokenId *big.Int) (string, error)
}

Jump to

Keyboard shortcuts

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