enums

package
v1.0.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2021 License: Apache-2.0 Imports: 1 Imported by: 1

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL