Documentation ¶
Index ¶
Constants ¶
View Source
const ( PingSize = 32 ID = "/ipfs/ping/1.0.0" ServiceName = "libp2p.ping" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PingService ¶
func NewPingService ¶
func NewPingService(h host.Host) *PingService
func (*PingService) PingHandler ¶
func (p *PingService) PingHandler(s network.Stream)
Click to show internal directories.
Click to hide internal directories.