Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenAdminToken ¶ added in v0.3.1
func GenAdminToken() string
GenAdminToken generates a cryptographically secure admin token. Uses 32 bytes of randomness encoded as base58 for URL-safe, compact representation.
func ULID ¶ added in v0.16.0
func ULID() string
ULID mints a 26-character Crockford base32 ULID. Unlike Gen's base58 output, ULIDs sort by creation time as plain strings, so they suit names that a directory listing or a key range has to return in order. Within a process the order is strict; across restarts it is millisecond-granular.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.