package
0.0.0-20241216201159-46e4ef8c5872
Repository: https://github.com/thehackerdev/cartograph.git
Documentation: pkg.go.dev
# Functions
ConvertToRole converts an integer to a Role.
NewArgon2ID returns a new Argon2ID struct with strong default parameters.
NewJWTManager returns a new JWT struct with a signing certificate.
# Constants
RoleAdmin is the role for administrators.
RoleNone is the role for users with no permissions, or the default role.
RoleReviewBow is the role for users who can review bag-of-words.
RoleReviewInteresting is the role for users who can review interesting data.
RoleSearchSimilar is the role for users who can search for similar data.
# Structs
Argon2ID holds the data used to create the Argon2ID hash.
JWTClaims holds the claims stored in a JWT.
JWTManager is used to create and validate JWTs.
# Type aliases
No description provided by the author