Documentation ¶
Index ¶
- type ClientConfig
- type ClientPool
- func (pool *ClientPool) AddClient(config *ClientConfig) error
- func (pool *ClientPool) Close()
- func (pool *ClientPool) GetAllClients() []*PoolClient
- func (pool *ClientPool) GetClientsByNamePatterns(includePattern, excludePattern 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 NewClientPoolWithContext ¶ added in v0.0.3
func NewClientPoolWithContext(ctx context.Context, logger logrus.FieldLogger) (*ClientPool, error)
func (*ClientPool) AddClient ¶
func (pool *ClientPool) AddClient(config *ClientConfig) error
func (*ClientPool) Close ¶ added in v0.0.3
func (pool *ClientPool) Close()
func (*ClientPool) GetAllClients ¶
func (pool *ClientPool) GetAllClients() []*PoolClient
func (*ClientPool) GetClientsByNamePatterns ¶
func (pool *ClientPool) GetClientsByNamePatterns(includePattern, excludePattern 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.