Versions in this module Expand all Collapse all v0 v0.23.5 Nov 8, 2022 Changes in this version + const ID + const PingSize + const ServiceName + func Ping(ctx context.Context, h host.Host, p peer.ID) <-chan Result + type PingService struct + Host host.Host + func NewPingService(h host.Host) *PingService + func (p *PingService) PingHandler(s network.Stream) + func (ps *PingService) Ping(ctx context.Context, p peer.ID) <-chan Result + type Result struct + Error error + RTT time.Duration