Documentation ¶
Index ¶
Constants ¶
View Source
const HeaderName = "X-Agent-Id"
Variables ¶
This section is empty.
Functions ¶
func Init ¶
Init should be called by an app entrypoint as soon as it can to configure where the unique seed will be stored. dir is the directory where we will read and store agent_seed.json If left empty it will default to $APPDATA or /tmp A unique agent seed will be generated when this method is first called, and reused for the lifetime of this agent.
Types ¶
Click to show internal directories.
Click to hide internal directories.