Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPacketConn ¶
func NewPacketConn[A p2p.Addr](s p2p.Swarm[A]) net.PacketConn
NewPacketConn turns a Swarm into a net.PacketConn Asks are not served, if you have an ask swarm you will need to handle or discard asks separately
Types ¶
Click to show internal directories.
Click to hide internal directories.