ids

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2026 License: Apache-2.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 NewRunID

func NewRunID() string

NewRunID returns a time-ordered (version 7) UUID.

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

func ValidRunID(id string) bool

ValidRunID reports whether id is a canonical lowercase UUID.

func ValidSessionID

func ValidSessionID(id string) bool

ValidSessionID reports whether id is a canonical lowercase UUID.

func ValidWorkspaceID

func ValidWorkspaceID(id string) bool

ValidWorkspaceID reports whether id has the workspace identifier format.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL