Documentation ¶ Index ¶ func PeerId(pid peer.ID) string 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. Source Files ¶ View all Source files logging.go Directories ¶ Show internal Expand all Path Synopsis internal Click to show internal directories. Click to hide internal directories.