ids

package
v1.201.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("not found")

ErrNotFound for service.

Module for fx.

Functions

func IsNotFound

func IsNotFound(err error) bool

IsNotFound for service.

Types

type Identifier

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

Identifier for the different transports.

func NewIdentifier

func NewIdentifier(gc *generator.Config, mc *mapper.Config, gs generator.Generators) *Identifier

NewIdentifier for the different transports.

func (*Identifier) Generate

func (s *Identifier) Generate(ctx context.Context, application string, count uint64) ([]string, error)

Generate identifiers.

func (*Identifier) Map

func (s *Identifier) Map(ids []string) ([]string, error)

Map identifiers.

Jump to

Keyboard shortcuts

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