Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HeartbeatEvery = 1 * time.Second
Functions ¶
This section is empty.
Types ¶
type HeartbeatService ¶
type HeartbeatService struct {
// contains filtered or unexported fields
}
func NewHeartbeat ¶
func NewHeartbeat(ping *ping.PingService, p peer.ID, outCh chan PeerStatus) (*HeartbeatService, error)
func (*HeartbeatService) Close ¶
func (h *HeartbeatService) Close()
type PeerStatus ¶
Click to show internal directories.
Click to hide internal directories.