Help us shape the future of Go! Take the 2026 Go Developer Survey

integration

package
v0.9.82 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2026 License: MIT Imports: 17 Imported by: 0

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

func GenerateRandomString(prefix string) string

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

func NewDatabase(t *testing.T) (database.Database, string)

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.

Jump to

Keyboard shortcuts

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