start

package
v0.0.0-...-141c82c Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2023 License: MIT Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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(cfgwatchr *config.Watcher, zetaPaths 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