Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrChainAlreadyExists = errors.New("chain already exists")
)
Functions ¶
This section is empty.
Types ¶
type ChainDetails ¶
type ChainDetails struct { RpcPort string GrpcPort string RestPort string EvmPort string ChainId string StakingDenom string }
ChainDetails wraps information about the ports exposed to the host that endpoints could be access on.
func (ChainDetails) GrpcConn ¶
func (c ChainDetails) GrpcConn() (*grpc.ClientConn, error)
type Chains ¶
type Chains struct {
// contains filtered or unexported fields
}
func (Chains) MustGetChain ¶
func (c Chains) MustGetChain(name string) *ChainDetails
type FuryNodeRunner ¶ added in v0.4.0
type FuryNodeRunner struct {
// contains filtered or unexported fields
}
FuryNodeRunner manages and runs a single Fury node.
func NewFuryNode ¶ added in v0.4.0
func NewFuryNode(config Config) *FuryNodeRunner
func (*FuryNodeRunner) Shutdown ¶ added in v0.4.0
func (k *FuryNodeRunner) Shutdown()
func (*FuryNodeRunner) StartChains ¶ added in v0.4.0
func (k *FuryNodeRunner) StartChains() Chains
type NodeRunner ¶
type NodeRunner interface { StartChains() Chains Shutdown() }
NodeRunner is responsible for starting and managing docker containers to run a node.
Click to show internal directories.
Click to hide internal directories.