package
0.0.0-20250104173804-5e79cc0e8cba
Repository: https://github.com/pynezz/pynezz_com.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
No description provided by the author
Bouncer is a middleware that checks if the user is authenticated.
Fido and Brutus are both dog names.
CommonHeaders sets common headers for all requests.
ComparePasswordAndHash compares a password and encoded hash to check if the password matches the hash.
Decode hash decodes an encoded hash string and returns the parameters, salt, and hash (byte array).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GenerateNonce generates a random nonce.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetPosts returns all the posts in the database or a limited number of posts if the limit is 0, all the posts are returned.
No description provided by the author
GetPostsMetadata returns all the posts metadata in the database or a limited number of posts.
GetTags query the database for all tags in the PostMetadata table, trims whitesspace and quotation marks, and returns them as a slice of strings.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
HashesMatch compares a password and plaintext hash to validate the password.
HashToEncodedHash hashes a password and salt and returns the encoded hash.
Initialize the database with the given name and configuration, and automigrate the given tables.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Uuid generates a UUID for a given username.
No description provided by the author
# Variables
The content database instance (globals are bad, I'll fix this later.
The global database instance.
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
CustomContext extends echo.Context with user information.
Database defines the structure of the database.
No description provided by the author
UserWrap is a wrapper for user data, used for registration, making sure parameters are correct.
This is my homemade UUID variant.
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author