Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainAPManager ¶
type ChainAPManager interface { // RegisterChainAP registers an access of chain to given chainID. RegisterChainAP(chainID *big.Int, chainAP *ethclient.Client) // ChainAP obtains the access of chain for given chainID. ChainAP(chainID *big.Int) (*ethclient.Client, error) }
ChainAPManager manages the access to chain.
type ChainAPManagerImplV1 ¶
type ChainAPManagerImplV1 struct {
// contains filtered or unexported fields
}
ChainAPManagerImplV1 implements ChainAPManager.
func NewChainAPManagerImplV1 ¶
func NewChainAPManagerImplV1() *ChainAPManagerImplV1
NewChainAPManagerImplV1 creates a new chain ap manager impl v1.
func (*ChainAPManagerImplV1) RegisterChainAP ¶
func (mgr *ChainAPManagerImplV1) RegisterChainAP(chainID *big.Int, chainAP *ethclient.Client)
RegisterChainAP registers an access of chain to given chainID.
Click to show internal directories.
Click to hide internal directories.