idgen

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Attempt added in v0.13.0

func Attempt() string

func Configure

func Configure(cfg IDGenConfig) error

func Destination

func Destination() string

func Event

func Event() string

func Installation

func Installation() string

func String

func String() string

Types

type IDGenConfig

type IDGenConfig struct {
	Type              string
	EventPrefix       string
	DestinationPrefix string
	AttemptPrefix     string
}

type IDGenerator

type IDGenerator struct {
	// contains filtered or unexported fields
}

func (*IDGenerator) Attempt added in v0.13.0

func (g *IDGenerator) Attempt() string

func (*IDGenerator) Destination

func (g *IDGenerator) Destination() string

func (*IDGenerator) Event

func (g *IDGenerator) Event() string

func (*IDGenerator) Installation

func (g *IDGenerator) Installation() string

Jump to

Keyboard shortcuts

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