Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InfoProvider ¶
type InfoProvider struct { SoftwareVersionFun func() string SealedBlockHeightFun func() (uint64, error) HotstuffViewFun func() (uint64, error) }
func (InfoProvider) HotstuffView ¶
func (p InfoProvider) HotstuffView() uint64
func (InfoProvider) SealedBlockHeight ¶
func (p InfoProvider) SealedBlockHeight() uint64
func (InfoProvider) SoftwareVersion ¶
func (p InfoProvider) SoftwareVersion() string
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service handles the outbound and inbound ping requests and response
func NewPingService ¶
Click to show internal directories.
Click to hide internal directories.