Documentation
¶
Overview ¶
Package readable provides a way to convert a byte array to a readable string and vice versa.
Index ¶
- func FromUUID(u uuid.UUID) (string, error)
- func InitUID128()
- func InitUID32()
- func New() (string, error)
- func Smol(readable string) (string, error)
- func SmolFromUUID(u uuid.UUID) (string, error)
- func ToUUID(readable string) (*uuid.UUID, error)
- func VerifySmolWithReadable(smol string, readable string) bool
- func VerifySmolWithUUID(smol string, u uuid.UUID) bool
- type Converter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SmolFromUUID ¶
SmolFromUUID returns a 32-bit hash of the given uuid.
func VerifySmolWithReadable ¶
VerifySmolWithReadable verifies that the given smol is the 32-bit hash of the given readable.
Types ¶
Directories
¶
Path | Synopsis |
---|---|
Package db contains all the data for the readable package.
|
Package db contains all the data for the readable package. |
animal
Package animal is the database of animals.
|
Package animal is the database of animals. |
grammar
Package grammar is the database of grammar.
|
Package grammar is the database of grammar. |
name
Package name is the database of name.
|
Package name is the database of name. |
place
Package place is the database of places.
|
Package place is the database of places. |
Click to show internal directories.
Click to hide internal directories.