Documentation
¶
Index ¶
- func LuxFactory(name string, binary string) (engines.Engine, error)
- func NewLuxEngine(name string, binary string) (engines.Engine, error)
- type LuxEngine
- func (e *LuxEngine) ChainID() ids.ID
- func (e *LuxEngine) Health(ctx context.Context) (*engines.HealthStatus, error)
- func (e *LuxEngine) IsRunning() bool
- func (e *LuxEngine) Metrics() map[string]interface{}
- func (e *LuxEngine) Name() string
- func (e *LuxEngine) NetworkID() uint32
- func (e *LuxEngine) P2PEndpoint() string
- func (e *LuxEngine) ParentChain() *engines.ChainInfo
- func (e *LuxEngine) RPCEndpoint() string
- func (e *LuxEngine) Restart(ctx context.Context) error
- func (e *LuxEngine) Start(ctx context.Context, config *engines.NodeConfig) error
- func (e *LuxEngine) Stop(ctx context.Context) error
- func (e *LuxEngine) Type() engines.EngineType
- func (e *LuxEngine) Uptime() time.Duration
- func (e *LuxEngine) WSEndpoint() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LuxFactory ¶
LuxFactory creates Lux engines
Types ¶
type LuxEngine ¶
type LuxEngine struct {
// contains filtered or unexported fields
}
LuxEngine wraps luxd node management
func (*LuxEngine) P2PEndpoint ¶
func (*LuxEngine) ParentChain ¶
func (*LuxEngine) RPCEndpoint ¶
func (*LuxEngine) Type ¶
func (e *LuxEngine) Type() engines.EngineType
func (*LuxEngine) WSEndpoint ¶
Click to show internal directories.
Click to hide internal directories.