package
0.0.0-20240115022734-de3484d97ac7
Repository: https://github.com/wasabee-project/wasabee-server.git
Documentation: pkg.go.dev

# Functions

GenerateID generates a random ASCII-safe string of specified length.
GenerateName generates a slug in the format "cornflake-peddling-bp0q".
LoadWordsFile imports the word definition file used for names.
NewSafemap returns an initialized pointer to a Safemap.
Sanitize is a very light-weight attempt to reduce XSS potential in well-behaved clients.

# Structs

Safemap is a special-purpose map type for holding unsigned-ints or bools intended for use in http requests or performance-critical paths.