peer

package
v0.38.0-preview.0.0.8 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasSeen

func HasSeen(eventID []byte) libp2p2.PeerFilter

HasSeen filters for peers that have seen the event with the given ID.

func HasSeenAllOf

func HasSeenAllOf(eventIDs ...[]byte) libp2p2.PeerFilter

HasSeenAllOf filters for peers that have seen all of the events with the given IDs.

func HasSeenOneOf

func HasSeenOneOf(eventIDs ...[]byte) libp2p2.PeerFilter

HasSeenOneOf filters for peers that have seen at least one of the events with the given IDs.

func Not

Not negates the wrapped filter.

Types

This section is empty.

Jump to

Keyboard shortcuts

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