Documentation
¶
Overview ¶
Package idgen produces opaque, near-unique identifiers for plugins, transports, and any other LogLayer machinery that needs a stable handle when the caller didn't supply one. Every ID is `prefix + 12 hex chars` from crypto/rand, with a process-counter fallback if the OS RNG fails.
Index ¶
Constants ¶
View Source
const ( PluginPrefix = "auto-plugin-" TransportPrefix = "auto-transport-" )
Prefixes used by LogLayer's built-in auto-ID call sites. Tests and tooling can match against them to recognize an auto-generated ID.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.