testutil

package
v0.0.0-...-6b52fb6 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2026 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClickHouseTestHost

func ClickHouseTestHost() string

func ClickHouseTestPort

func ClickHouseTestPort() uint32

func LoadEnv

func LoadEnv()

LoadEnv walks up from the current directory until the project root is found and loads the .env file if it exists. After the first call, subsequent calls to LoadEnv are no-ops.

Types

type MongoTestCredentials

type MongoTestCredentials struct {
	URI      string
	Username string
	Password string
}

func MongoAdminTestCredentials

func MongoAdminTestCredentials(t *testing.T) MongoTestCredentials

func MongoUserTestCredentials

func MongoUserTestCredentials(t *testing.T) MongoTestCredentials

Jump to

Keyboard shortcuts

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