crawler

package
v0.0.0-...-e7ea114 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: Unlicense Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Crawler

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

func New

func New(
	logger *logger.Logger,
	binance *binance.Binance,
	notify *telegram.TelegramBot,
	marketCache cache.Market,
	exchangeCache cache.Exchange,
	channel *channel.Channel,
) *Crawler

func (*Crawler) Start

func (s *Crawler) Start() error

func (*Crawler) StartConsumption

func (s *Crawler) StartConsumption() error

func (*Crawler) StartNotification

func (s *Crawler) StartNotification() error

func (*Crawler) StartRetry

func (s *Crawler) StartRetry()

func (*Crawler) Stop

func (s *Crawler) Stop()

Jump to

Keyboard shortcuts

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