package
0.0.0-20241121235844-633854f19866
Repository: https://github.com/phi-lani/kimanagementsystem.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
GenerateHash creates a SHA-256 hash of the input data.
GenerateJWT creates a new token with userID, username, and role.
GenerateOTP creates a random 6-digit OTP.
GetAuth creates an authenticated transactor using a private key.
GetClient connects to the Ethereum client (Ganache in this case).
No description provided by the author
SendEmail sends an email to a specified address with a subject and body.
SendOTPViaEmail sends the OTP to the user's email address.
No description provided by the author

# Structs

Claims structure.