p2plogging

package
v0.36.1 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: AGPL-3.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PeerId

func PeerId(pid peer.ID) string

PeerId is a logger helper that returns the base58 encoded peer id string, it looks up the peer id in a cache to avoid expensive base58 encoding, and caches the result for future use in case of a cache miss.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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