clientctx

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2026 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Overview

Package clientctx holds reusable, privacy-bounded caller context helpers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstallationID

func InstallationID(path string) (string, error)

InstallationID returns a random UUID persisted at path. The file is atomically linked into place, so concurrent CLI processes keep one ID. Deleting the configuration directory intentionally resets the identity.

func NewUUID

func NewUUID() (string, error)

NewUUID returns a cryptographically random version-4 UUID suitable for client correlation. It carries no hardware or account information.

Types

This section is empty.

Jump to

Keyboard shortcuts

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