Documentation
¶
Index ¶
Constants ¶
View Source
const ( //nolint:revive // var-naming: renaming this exported const is an API break; see follow-up PeerId = "peer" //nolint:revive // var-naming: renaming this exported const is an API break; see follow-up ProtocolId = "protocol" )
View Source
const P2PCommunicationType = "libp2p"
P2PCommunicationType is a string identifier for the libp2p implementation of the p2p comm stack.
Variables ¶
This section is empty.
Functions ¶
func NewHostGeneratorProvider ¶
func NewHostGeneratorProvider(config libp2pConfig, provider viewmetrics.Provider) *hostGeneratorProvider
Types ¶
type PKIDSynthesizer ¶
type PKIDSynthesizer struct{}
func (PKIDSynthesizer) PublicKeyID ¶
func (PKIDSynthesizer) PublicKeyID(key any) ([]byte, error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.