Documentation
¶
Overview ¶
Package instanceid resolves and validates the per-daemon instance identifier used to namespace global resources (git branches, worktree paths, channel titles) so multiple daemons can share one gateway home.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Resolve ¶
Resolve computes the instanceID from an explicit id (e.g. HERRSCHER_INSTANCE_ID) and a fallback owner snowflake (e.g. HERRSCHER_OWNER_ID), per Spec §2:
- explicit, when set, must be a valid slug or Resolve errors;
- otherwise the owner is slugified;
- otherwise "" (legacy, non-namespaced mode).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.