package
0.0.0-20240915153632-0f58b75ebb1a
Repository: https://github.com/p0h1ng/cardinal.git
Documentation: pkg.go.dev

# Functions

AddSalt: Use the config salt as key to HmacSha1Encode.
CheckPassword: Add salt and check the password.
CompareVersion used to compare the cardinal version.
FileIsExist check the file or folder existed.
FileSize returns the formatter text of the giving size.
GenerateToken: return UUID v4 string.
HmacSha1Encode: HMAC SHA1 encode.
InputString used in the install.go for the config file guide.
MakeErrJSON makes the error response JSON for gin.
MakeSuccessJSON makes the successful response JSON for gin.
Sha1Encode: Sha1 encode input string.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Config.
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
Config type.
No description provided by the author

# Variables

These variable will be assigned in CI.
These variable will be assigned in CI.
These variable will be assigned in CI.