package
1.4.35
Repository: https://github.com/silvajp2/caddy-auth-portal.git
Documentation: pkg.go.dev

# Functions

CreateTestDatabase returns database instance.
EvalErr evaluates whether there is an error.
EvalErrWithLog evaluates the error.
EvalObjects compares two objects.
EvalObjectsWithLog compares two objects and logs extra output when detects an error.
GetCryptoKeyPair returns private-public key pair.
NewID returns a random ID to be used for user identification.
NewRandomString returns a random string.
TempDir creates temporary directory.
WriteLog writes logs from tests.

# Variables

TestEmail1 is the email for user1.
TestEmail2 is the email for user2.
TestFullName1 is the full name for user1.
TestFullName2 is the full name for user2.
TestPwd1 is the password for user1.
TestPwd2 is the password for user2.
TestRoles1 is the roles for user1.
TestRoles2 is the roles for user2.
TestUser1 is the username for user1.
TestUser2 is the username for user2.