package
Version:
v0.0.0-...-d4b7e32
Opens a new window with list of versions in this module.
Published: Aug 12, 2023
License: MPL-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
func WrapSecure[A p2p.Addr, Pub any](x p2p.SecureSwarm[A, Pub], af AllowFunc[A]) p2p.SecureSwarm[A, Pub]
func WrapSecureAsk[A p2p.Addr, Pub any](x p2p.SecureAskSwarm[A, Pub], af AllowFunc[A]) p2p.SecureAskSwarm[A, Pub]
type AllowFunc[A p2p.Addr] func(addr A) bool
Source Files
¶
Click to show internal directories.
Click to hide internal directories.