worker

package
v0.0.0-...-49025f2 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start()

Types

type DealWatcher

type DealWatcher struct {
}

func NewDealWatcher

func NewDealWatcher() *DealWatcher

func (*DealWatcher) WatchDeals

func (r *DealWatcher) WatchDeals()

type EventSubscriber

type EventSubscriber struct {
}

func NewEventSubscriber

func NewEventSubscriber() *EventSubscriber

func (*EventSubscriber) Subscribe

func (r *EventSubscriber) Subscribe()

type GrossRevenueAttribute

type GrossRevenueAttribute struct {
	TraitType string `json:"trait_type"`
	Value     int    `json:"value"`
}

type Metadata

type Metadata struct {
	Name        string        `json:"name"`
	Description string        `json:"description"`
	Image       string        `json:"image"`
	ExternalUrl string        `json:"external_url"`
	Attributes  []interface{} `json:"attributes"`
}

type Offer

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

type RatingWatcher

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

func NewRatingWatcher

func NewRatingWatcher() *RatingWatcher

func (*RatingWatcher) WatchRatings

func (r *RatingWatcher) WatchRatings()

type Revenue

type Revenue struct {
	NetworkId   int    `json:"network_id"`
	TokenId     int    `json:"token_id"`
	Amount      int    `json:"amount"`
	Tier        int    `json:"tier"`
	RevenueTier string `json:"revenue_tier"`
}

type RevenueTierAttribute

type RevenueTierAttribute struct {
	TraitType string `json:"trait_type"`
	Value     string `json:"value"`
}

type RevenueWatcher

type RevenueWatcher struct {
}

func NewRevenueWatcher

func NewRevenueWatcher() *RevenueWatcher

func (*RevenueWatcher) WatchRevenues

func (r *RevenueWatcher) WatchRevenues()

type TierAttribute

type TierAttribute struct {
	TraitType string `json:"trait_type"`
	Value     int    `json:"value"`
	MaxValue  int    `json:"max_value"`
}

Jump to

Keyboard shortcuts

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