Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GRPCAPIKey ¶
func GRPCAPIKey() string
func GRPCServerAddress ¶
func GRPCServerAddress() string
func GenerateRandomString ¶
GenerateRandomString returns a string with given prefix.
func HTTPAPIKey ¶ added in v0.9.79
func HTTPAPIKey() string
func HTTPServerAddress ¶
func HTTPServerAddress() string
func NewDatabase ¶ added in v0.9.79
NewDatabase creates an empty database and closes and removes it during test cleanup. It uses the application's DATABASE_* settings. The configured MySQL/PostgreSQL user must have permission to create and drop databases. The returned DSN connects to the new database for tests that open additional connections.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.