Documentation ¶
Index ¶
- type JsonUint64
- type V1HTTPClient
- func (s *V1HTTPClient) GetAttestationsInPoolCount() (int64, error)
- func (s *V1HTTPClient) GetChainHead() (*types.ChainHead, error)
- func (s *V1HTTPClient) GetGenesisTime() (int64, error)
- func (s *V1HTTPClient) GetPeerCount() (int64, error)
- func (s *V1HTTPClient) GetSyncStatus() (bool, error)
- func (s *V1HTTPClient) GetVersion() (string, error)
- func (s *V1HTTPClient) SubscribeChainHeads() (beacon.ChainHeadSubscription, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JsonUint64 ¶ added in v0.0.13
type JsonUint64 uint64
JsonUint64 is a helper to make both string and integer formatted uint64 numbers unmarshal correctly.
func (*JsonUint64) UnmarshalJSON ¶ added in v0.0.13
func (v *JsonUint64) UnmarshalJSON(b []byte) error
type V1HTTPClient ¶
type V1HTTPClient struct {
// contains filtered or unexported fields
}
func (*V1HTTPClient) GetAttestationsInPoolCount ¶
func (s *V1HTTPClient) GetAttestationsInPoolCount() (int64, error)
func (*V1HTTPClient) GetChainHead ¶
func (s *V1HTTPClient) GetChainHead() (*types.ChainHead, error)
func (*V1HTTPClient) GetGenesisTime ¶
func (s *V1HTTPClient) GetGenesisTime() (int64, error)
func (*V1HTTPClient) GetPeerCount ¶
func (s *V1HTTPClient) GetPeerCount() (int64, error)
func (*V1HTTPClient) GetSyncStatus ¶
func (s *V1HTTPClient) GetSyncStatus() (bool, error)
func (*V1HTTPClient) GetVersion ¶
func (s *V1HTTPClient) GetVersion() (string, error)
func (*V1HTTPClient) SubscribeChainHeads ¶
func (s *V1HTTPClient) SubscribeChainHeads() (beacon.ChainHeadSubscription, error)
Click to show internal directories.
Click to hide internal directories.