ids

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package ids generates the ephemeral identifiers used by lazysusan:

  • client id: 26-char lowercase base32 (16 bytes of entropy)
  • request id: 13-char lowercase base32 (8 bytes of entropy)
  • token: base64url, 32 bytes of entropy, "stk_" prefix

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClientID

func NewClientID() (string, error)

NewClientID returns a fresh 26-char client id.

func NewRequestID

func NewRequestID() (string, error)

NewRequestID returns a fresh 13-char request id.

func NewToken

func NewToken() (string, error)

NewToken returns a fresh stk_-prefixed token.

Types

This section is empty.

Jump to

Keyboard shortcuts

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