lux

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2025 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LuxFactory

func LuxFactory(name string, binary string) (engines.Engine, error)

LuxFactory creates Lux engines

func NewLuxEngine

func NewLuxEngine(name string, binary string) (engines.Engine, error)

NewLuxEngine creates a new Lux engine

Types

type LuxEngine

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

LuxEngine wraps luxd node management

func (*LuxEngine) ChainID

func (e *LuxEngine) ChainID() ids.ID

func (*LuxEngine) Health

func (e *LuxEngine) Health(ctx context.Context) (*engines.HealthStatus, error)

func (*LuxEngine) IsRunning

func (e *LuxEngine) IsRunning() bool

func (*LuxEngine) Metrics

func (e *LuxEngine) Metrics() map[string]interface{}

func (*LuxEngine) Name

func (e *LuxEngine) Name() string

func (*LuxEngine) NetworkID

func (e *LuxEngine) NetworkID() uint32

func (*LuxEngine) P2PEndpoint

func (e *LuxEngine) P2PEndpoint() string

func (*LuxEngine) ParentChain

func (e *LuxEngine) ParentChain() *engines.ChainInfo

func (*LuxEngine) RPCEndpoint

func (e *LuxEngine) RPCEndpoint() string

func (*LuxEngine) Restart

func (e *LuxEngine) Restart(ctx context.Context) error

func (*LuxEngine) Start

func (e *LuxEngine) Start(ctx context.Context, config *engines.NodeConfig) error

func (*LuxEngine) Stop

func (e *LuxEngine) Stop(ctx context.Context) error

func (*LuxEngine) Type

func (e *LuxEngine) Type() engines.EngineType

func (*LuxEngine) Uptime

func (e *LuxEngine) Uptime() time.Duration

func (*LuxEngine) WSEndpoint

func (e *LuxEngine) WSEndpoint() string

Jump to

Keyboard shortcuts

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