historicalscrapers

package
v1.4.478-rc-4 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: GPL-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CoingeckoScraper

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

func NewCoingeckoScraper

func NewCoingeckoScraper(rdb *models.RelDB, datastore *models.DB, apiKey string) (cgScraper CoingeckoScraper)

func (CoingeckoScraper) Done

func (s CoingeckoScraper) Done() chan bool

func (CoingeckoScraper) FetchQuotations

func (s CoingeckoScraper) FetchQuotations()

func (CoingeckoScraper) QuoteChannel

func (s CoingeckoScraper) QuoteChannel() chan models.AssetQuotation

type CoinmarketcapScraper

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

func NewCoinmarketcapScraper

func NewCoinmarketcapScraper(rdb *models.RelDB, datastore *models.DB) (cmcScraper CoinmarketcapScraper)

func (CoinmarketcapScraper) Done

func (s CoinmarketcapScraper) Done() chan bool

func (CoinmarketcapScraper) FetchQuotations

func (s CoinmarketcapScraper) FetchQuotations()

func (CoinmarketcapScraper) QuoteChannel

func (s CoinmarketcapScraper) QuoteChannel() chan models.AssetQuotation

type HistoricalScraper

type HistoricalScraper interface {
	FetchQuotations()
	QuoteChannel() chan models.AssetQuotation
	Done() chan bool
}

func NewHistoricalScraper

func NewHistoricalScraper(source string, rdb *models.RelDB, datastore *models.DB) HistoricalScraper

Jump to

Keyboard shortcuts

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