testbackends

package
v1.0.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2020 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MysqlTestDsn = fmt.Sprintf(
	"%s:%s@tcp(%s:%s)/%s",
	os.Getenv("ICINGADB_TEST_MYSQL_USER"),
	os.Getenv("ICINGADB_TEST_MYSQL_PASSWORD"),
	os.Getenv("ICINGADB_TEST_MYSQL_HOST"),
	os.Getenv("ICINGADB_TEST_MYSQL_PORT"),
	os.Getenv("ICINGADB_TEST_MYSQL_DATABASE"),
)
View Source
var RedisTestAddr = fmt.Sprintf("%s:%s", os.Getenv("ICINGADB_TEST_REDIS_HOST"), os.Getenv("ICINGADB_TEST_REDIS_PORT"))
View Source
var RedisTestClient = redis.NewClient(&redis.Options{
	Network:      "tcp",
	Addr:         RedisTestAddr,
	ReadTimeout:  time.Minute,
	WriteTimeout: time.Minute,
})

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