start

package
v0.0.0-...-589da53 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: MIT Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResetDatabaseAndNetworkHistory

func ResetDatabaseAndNetworkHistory(ctx context.Context, log *logging.Logger, furyPaths paths.Paths, connConfig sqlstore.ConnectionConfig) error

Types

type NodeCommand

type NodeCommand struct {
	SQLSubscribers

	Log *logging.Logger

	Version     string
	VersionHash string
	// contains filtered or unexported fields
}

NodeCommand use to implement 'node' command.

func (*NodeCommand) Run

func (l *NodeCommand) Run(ctx context.Context, cfgwatchr *config.Watcher, furyPaths paths.Paths, args []string) error

func (*NodeCommand) Stop

func (l *NodeCommand) Stop()

Stop is for graceful shutdown.

type SQLSubscribers

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

func (*SQLSubscribers) CreateAllStores

func (s *SQLSubscribers) CreateAllStores(ctx context.Context, Log *logging.Logger, transactionalConnectionSource *sqlstore.ConnectionSource,
	candleV2Config candlesv2.CandleStoreConfig,
)

func (*SQLSubscribers) GetSQLSubscribers

func (s *SQLSubscribers) GetSQLSubscribers() []broker.SQLBrokerSubscriber

func (*SQLSubscribers) SetupSQLSubscribers

func (s *SQLSubscribers) SetupSQLSubscribers()

func (*SQLSubscribers) SetupServices

func (s *SQLSubscribers) SetupServices(ctx context.Context, log *logging.Logger, candlesConfig candlesv2.Config) error

Jump to

Keyboard shortcuts

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