secrets

package
v0.1.0-alpha.13 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2026 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SecretKeyPrefix = "sk_"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator interface {
	New(prefix string) (string, error)
}

type RandomSecretGenerator

type RandomSecretGenerator struct {
}

func NewRandomSecretGenerator

func NewRandomSecretGenerator() *RandomSecretGenerator

func (*RandomSecretGenerator) New

func (g *RandomSecretGenerator) New(prefix string) (string, error)

Jump to

Keyboard shortcuts

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