id

package
v0.33.1 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: AGPL-3.0 Imports: 4 Imported by: 2 modules, 7 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomIdentifierProvider added in v0.23.1

type CustomIdentifierProvider struct {
	// contains filtered or unexported fields
}

CustomIdentifierProvider implements `module.IdentifierProvider` which provides results from the given function.

func NewCustomIdentifierProvider added in v0.23.1

func NewCustomIdentifierProvider(identifiers func() flow.IdentifierList) *CustomIdentifierProvider

func (*CustomIdentifierProvider) Identifiers added in v0.23.1

func (p *CustomIdentifierProvider) Identifiers() flow.IdentifierList

type FixedIdentifierProvider

type FixedIdentifierProvider struct {
	// contains filtered or unexported fields
}

FixedIdentifierProvider implements an IdentifierProvider which provides a fixed list of identifiers.

func NewFixedIdentifierProvider

func NewFixedIdentifierProvider(identifiers flow.IdentifierList) *FixedIdentifierProvider

func (*FixedIdentifierProvider) Identifiers

func (p *FixedIdentifierProvider) Identifiers() flow.IdentifierList

type FixedIdentityProvider

type FixedIdentityProvider struct {
	// contains filtered or unexported fields
}

FixedIdentityProvider implements an IdentityProvider which provides a fixed list of identities.

func NewFixedIdentityProvider

func NewFixedIdentityProvider(identities flow.IdentityList) *FixedIdentityProvider

func (*FixedIdentityProvider) ByNodeID

func (p *FixedIdentityProvider) ByNodeID(flowID flow.Identifier) (*flow.Identity, bool)

func (*FixedIdentityProvider) ByPeerID

func (p *FixedIdentityProvider) ByPeerID(peerID peer.ID) (*flow.Identity, bool)

func (*FixedIdentityProvider) Identities

type IdentityFilterIdentifierProvider added in v0.23.1

type IdentityFilterIdentifierProvider struct {
	// contains filtered or unexported fields
}

IdentityFilterIdentifierProvider implements an IdentifierProvider which provides the identifiers resulting from applying a filter to an IdentityProvider.

func NewIdentityFilterIdentifierProvider added in v0.23.1

func NewIdentityFilterIdentifierProvider(filter flow.IdentityFilter, identityProvider module.IdentityProvider) *IdentityFilterIdentifierProvider

func (*IdentityFilterIdentifierProvider) Identifiers added in v0.23.1

Jump to

Keyboard shortcuts

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