Documentation ¶
Index ¶
- type ClientConfig
- type ClientPool
- func (pool *ClientPool) AddClient(config *ClientConfig) error
- func (pool *ClientPool) GetAllClients() []*PoolClient
- func (pool *ClientPool) GetClientsByNamePatterns(patterns []string) []*PoolClient
- func (pool *ClientPool) GetConsensusPool() *consensus.Pool
- func (pool *ClientPool) GetExecutionPool() *execution.Pool
- type PoolClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientConfig ¶
type ClientPool ¶
type ClientPool struct {
// contains filtered or unexported fields
}
func NewClientPool ¶
func NewClientPool(logger logrus.FieldLogger) (*ClientPool, error)
func (*ClientPool) AddClient ¶
func (pool *ClientPool) AddClient(config *ClientConfig) error
func (*ClientPool) GetAllClients ¶
func (pool *ClientPool) GetAllClients() []*PoolClient
func (*ClientPool) GetClientsByNamePatterns ¶
func (pool *ClientPool) GetClientsByNamePatterns(patterns []string) []*PoolClient
func (*ClientPool) GetConsensusPool ¶
func (pool *ClientPool) GetConsensusPool() *consensus.Pool
func (*ClientPool) GetExecutionPool ¶
func (pool *ClientPool) GetExecutionPool() *execution.Pool
type PoolClient ¶
type PoolClient struct { Config *ClientConfig ConsensusClient *consensus.Client ExecutionClient *execution.Client }
Click to show internal directories.
Click to hide internal directories.