wlswarm

package
v0.0.0-...-d4b7e32 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 12, 2023 License: MPL-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WrapSecure

func WrapSecure[A p2p.Addr, Pub any](x p2p.SecureSwarm[A, Pub], af AllowFunc[A]) p2p.SecureSwarm[A, Pub]

func WrapSecureAsk

func WrapSecureAsk[A p2p.Addr, Pub any](x p2p.SecureAskSwarm[A, Pub], af AllowFunc[A]) p2p.SecureAskSwarm[A, Pub]

Types

type AllowFunc

type AllowFunc[A p2p.Addr] func(addr A) bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL