uid

package
v0.0.0-...-6d34543 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UID

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

func (*UID) GenID

func (u *UID) GenID() (string, error)

func (*UID) TraceID

func (u *UID) TraceID() string

func (*UID) TradeID

func (u *UID) TradeID() string

type UIDRepo

type UIDRepo interface {
	GenID() (string, error)
	TraceID() string
	TradeID() string
}

func NewUIDRepo

func NewUIDRepo() UIDRepo

Jump to

Keyboard shortcuts

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