package
0.0.0-20241201114137-6b87f595ce26
Repository: https://github.com/sudo-abhinav/rms.git
Documentation: pkg.go.dev
# Functions
EncodeJSONBody writes the JSON body to response writer.
GenerateJWT creates a new JWT token with claims.
HashPassword generates a bcrypt hash for the given password.
ParseBody parses the values from io reader to a given interface.
RespondJSON sends the interface as a JSON.
w http.ResponseWriter, statusCode int, body interface{}.
No description provided by the author
Verify Password verifies if the given password matches the stored hash.