crons

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CronService

type CronService struct {
	OHLCVService      *services.OHLCVService
	PriceBoardService *services.PriceBoardService
	PairService       *services.PairService
	RelayService      *services.RelayerService
	Engine            *engine.Engine
	// contains filtered or unexported fields
}

CronService contains the services required to initialize crons

func NewCronService

func NewCronService(
	ohlcvService *services.OHLCVService,
	priceBoardService *services.PriceBoardService,
	pairService *services.PairService,
	relayService *services.RelayerService,
	engine *engine.Engine,
	lendingPriceBoardService *services.LendingPriceBoardService,
	lendingPairService *services.LendingPairService,
	lendingOhlcvService *services.LendingOhlcvService,
) *CronService

NewCronService returns a new instance of CronService

func (*CronService) InitCrons

func (s *CronService) InitCrons()

InitCrons is responsible for initializing all the crons in the system

Jump to

Keyboard shortcuts

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