Documentation ¶
Index ¶
Constants ¶
View Source
const ( ModeALL = iota // ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_ ModeNoLower // ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_ ModeNoUpper // abcdefghijklmnopqrstuvwxyz0123456789-_ ModeNoNumber // ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_ ModeNoLowerNumber // ABCDEFGHIJKLMNOPQRSTUVWXYZ-_ ModeNoUpperNumber // abcdefghijklmnopqrstuvwxyz-_ ModeNoLine // ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 ModeNoLowerLine // ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 ModeNoUpperLine // abcdefghijklmnopqrstuvwxyz0123456789 ModeOnlyUpper // ABCDEFGHIJKLMNOPQRSTUVWXYZ ModeOnlyLower // abcdefghijklmnopqrstuvwxyz ModeOnlyNumber // 0123456789 ModeHexUpper // 0123456789ABCDEF ModeHexLower // 0123456789abcdef ModeLimit )
Variables ¶
View Source
var ( ENoUUID = errors.New("Unable read uuid") ENoUUIDKernel = errors.New("Unable read uuid from kernel") )
View Source
var (
ENoResult = errors.New("Unable read result")
)
Functions ¶
func NewRandomString ¶ added in v0.0.3
func NewRandomUUID ¶ added in v0.0.3
func NewRandomUUID() string
func NewRandomUUIDByKernel ¶
func NewRandomUUIDByKernel() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.