Documentation ¶
Index ¶
Constants ¶
View Source
const ( MessageFailedToConnectToDatabase = "{ERROR_DATABASE} failed to connect with postgres database" MessageFailedToVerifyIsAvailable = "{ERROR_DATABASE} failed to get database while checking if is available" )
View Source
const ( EnvRelationalURI = "HORUSEC_DATABASE_SQL_URI" EnvRelationalLogMode = "HORUSEC_DATABASE_SQL_LOG_MODE" )
Variables ¶
View Source
var ErrorConnectingToDB = errors.New("{ERROR_DATABASE} error connecting to db, use this format" + " string for connection in " + EnvRelationalURI + ": 'host=localhost user=username password=user_password dbname=db_name port=5432 sslmode=disable TimeZone=Asia/Shanghai'")
nolint
View Source
var ErrorNotFoundRecords = errors.New("{ERROR_DATABASE} database not found records")
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.