Versions in this module Expand all Collapse all v1 v1.3.0 Jan 28, 2021 v1.2.0 Dec 16, 2020 Changes in this version + type Mode string + const External + const Infura + const Light + const Native + const Unknown + type RpcClient struct + func NewRpcClient(config config.RpcConfig) *RpcClient + func (t *RpcClient) Close() error + func (t *RpcClient) EthBlockNumber() (int64, error) + func (t *RpcClient) EthSyncing() (*Syncing, error) + type Service struct + func New(name string, services map[string]core.Service, containerName string, ...) *Service + func (t *Service) Close() error + func (t *Service) GetStatus(ctx context.Context) string + type Syncing struct + CurrentBlock int64 + HighestBlock int64 + KnownStates int64 + PulledStates int64 + StartingBlock int64