package
0.0.0-20250228030420-588d19194d90
Repository: https://github.com/luckyakbar/atec.git
Documentation: pkg.go.dev

# Functions

NewBrevoClient create a new brevo client instance.
NewDistributedLocker create a new distributed locker.
NewMailer creates a new mailer instance.
NewSharedCryptor create a new instance of SharedCryptor.

# Constants

DefaultBlockSize is the default block size used for encryption/decryption.

# Variables

Validator is singleton to be used to mainly validating struct values.

# Structs

CreateCryptorOpts is the options used to create a new cryptor instance.
DistributedLocker is a distributed locker.
Mailer contains utility relates to mailing functionalities.
SendEmailInput input to send email.
SharedCryptor instance contains common functionality relates to cryptograpic functions and is reusable throughout the entire codebase.
ValidateJWTOpts options to validate the JWT token.

# Interfaces

DistributedLockerIface is the interface for distributed locker.
SharedCryptorIface interface for SharedCryptor.