cmd

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: MIT Imports: 39 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version string
)

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func LFG added in v0.0.16

func LFG(_ *cobra.Command, _ []string)

func QueueStatsLive added in v0.0.16

func QueueStatsLive(queueEvents *chan *collections.Event, queueLogs chan types.Log, queueListings chan *models.ItemListedEvent, queueOutput *chan string, queueOutWS *chan *collections.Event)

Types

type Owner added in v0.0.7

type Owner struct {
	TokenAddress      string    `json:"token_address"`
	TokenID           string    `json:"token_id"`
	ContractType      string    `json:"contract_type"`
	OwnerOf           string    `json:"owner_of"`
	BlockNumber       string    `json:"block_number"`
	BlockNumberMinted string    `json:"block_number_minted"`
	TokenURI          string    `json:"token_uri"`
	Metadata          string    `json:"metadata"`
	Amount            string    `json:"amount"`
	Name              string    `json:"name"`
	Symbol            string    `json:"symbol"`
	TokenHash         string    `json:"token_hash"`
	LastTokenURISync  time.Time `json:"last_token_uri_sync"`
	LastMetadataSync  time.Time `json:"last_metadata_sync"`
}

type ResponseOwner added in v0.0.7

type ResponseOwner struct {
	Status   string   `json:"status"`
	Total    int      `json:"total"`
	Page     int      `json:"page"`
	PageSize int      `json:"page_size"`
	Cursor   string   `json:"cursor"`
	Result   []*Owner `json:"result"`
}

Jump to

Keyboard shortcuts

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