keys

package
v2.35.2 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// KeyPrefixLength is the total length of the visible key prefix.
	KeyPrefixLength = 11

	// KeyLength is the total length of the plaintext key returned to
	// the user on Create.
	KeyLength = KeyPrefixLength + privateSuffixLength
)

Variables

This section is empty.

Functions

func New

New generates an AI Gateway key used for authenticating standalone replicas. Returns InsertParams ready for the database query.

Types

This section is empty.

Jump to

Keyboard shortcuts

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