Documentation
¶
Overview ¶
Package ids generates and validates the opaque identifiers used by the gateway.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSessionID ¶
func NewSessionID() string
NewSessionID returns a random (version 4) UUID, as required by agent CLIs.
func NewWorkspaceID ¶
func NewWorkspaceID() string
NewWorkspaceID returns 128 random bits as 32 lowercase hex characters.
func ValidRunID ¶
ValidRunID reports whether id is a canonical lowercase UUID.
func ValidSessionID ¶
ValidSessionID reports whether id is a canonical lowercase UUID.
func ValidWorkspaceID ¶
ValidWorkspaceID reports whether id has the workspace identifier format.
Types ¶
This section is empty.