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
Click to show internal directories.
Click to hide internal directories.