models

package
v0.1.118 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Identifier

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

func NewIdentifier

func NewIdentifier() *Identifier

func NewKeyedIdentifier

func NewKeyedIdentifier(scope string, seed string) *Identifier

func NewScopedIdentifier

func NewScopedIdentifier(scope string) *Identifier

func (Identifier) String

func (i Identifier) String() string

func (Identifier) Value

func (i Identifier) Value() uint32

type IdentityManager

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

func GetOrCreateIdentityManager

func GetOrCreateIdentityManager(scope string) *IdentityManager

func (IdentityManager) Create

func (im IdentityManager) Create(seed string) *Identifier

func (IdentityManager) EmptyIdentifier

func (im IdentityManager) EmptyIdentifier() *Identifier

func (IdentityManager) GenerateKey

func (im IdentityManager) GenerateKey() *Identifier

func (IdentityManager) ResetKeyCounter

func (im IdentityManager) ResetKeyCounter()

Jump to

Keyboard shortcuts

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