numgen

package
v0.0.0-...-d0e3dbc Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2024 License: LGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceNumGen

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

func NewServiceNumGen

func NewServiceNumGen() (*ServiceNumGen, error)

func (*ServiceNumGen) GenerateFor

func (s *ServiceNumGen) GenerateFor(key string, count int) ([]idgen.IdType, error)

func (*ServiceNumGen) GetNumGen

func (s *ServiceNumGen) GetNumGen(key string) *idgen.IdGen

func (*ServiceNumGen) StartService

func (s *ServiceNumGen) StartService() error

Jump to

Keyboard shortcuts

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