Documentation ¶
Overview ¶
Package uuid contains UUID generator.
Package uuid provides a UUID identity provider.
Index ¶
Constants ¶
View Source
const Prefix = "123e4567-e89b-12d3-a456-"
Prefix represents the prefix used to generate UUID mocks.
Variables ¶
View Source
var ErrGeneratingID = errors.New("failed to generate uuid")
ErrGeneratingID indicates error in generating UUID.
Functions ¶
func NewMock ¶
func NewMock() magistrala.IDProvider
NewMock creates "mirror" uuid provider, i.e. generated token will hold value provided by the caller.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.