Documentation
¶
Index ¶
Constants ¶
View Source
const JWT_SECRET = "UNSAFE_SECRET_KEY_CHANGE_ME!"
JWT_SECRET is shared dummy jwt secret for testing
View Source
const PASSWORD = "DUMMY_PASSWORD"
PASSWORD is shared dummy password for testing
Variables ¶
This section is empty.
Functions ¶
func GetDatabaseConnection ¶
GetDatabaseConnection creates connection to database
func SetAdminUserHeader ¶
SetAdminUserHeader set requested user as ID:1 and permission:9
func SetModUserHeader ¶
SetModUserHeader set requested user as ID:2 and permission:5
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.