cmd

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MigrateCommand added in v0.3.0

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

func NewMigrateCommand

func NewMigrateCommand(command string, connStr string, logger *logrus.Logger) MigrateCommand

func (MigrateCommand) Run added in v0.3.0

func (cmd MigrateCommand) Run() error

type PurgeCommand added in v0.3.0

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

func NewPurgeCommand

func NewPurgeCommand(db *store.DB, logger *logrus.Logger) PurgeCommand

func (PurgeCommand) Run added in v0.3.0

func (cmd PurgeCommand) Run() error

type ServerCommand added in v0.3.0

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

func NewServerCommand

func NewServerCommand(db *store.DB, addr string, logger *logrus.Logger, rpc *client.Client) ServerCommand

func (ServerCommand) Run added in v0.3.0

func (cmd ServerCommand) Run() error

type StatusCommand added in v0.3.0

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

func NewStatusCommand

func NewStatusCommand(rpc *client.Client, logger *logrus.Logger) StatusCommand

func (StatusCommand) Run added in v0.3.0

func (cmd StatusCommand) Run() error

type SyncCommand added in v0.3.0

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

func NewSyncCommand

func NewSyncCommand(logger *logrus.Logger, db *store.DB, rpc *client.Client, networkID uint32, evmChainID uint32) SyncCommand

func (SyncCommand) Run added in v0.3.0

func (cmd SyncCommand) Run() error

type WorkerCommand added in v0.3.0

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

func NewWorkerCommand

func NewWorkerCommand(
	db *store.DB,
	rpc *client.Client,
	logger *logrus.Logger,
	interval time.Duration,
	purgeInterval time.Duration,
	networkID uint32,
	evmChainID uint32,
) WorkerCommand

func (WorkerCommand) Run added in v0.3.0

func (cmd WorkerCommand) Run() error

Jump to

Keyboard shortcuts

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