configs

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2025 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultDBDSN is the default database DSN.
	DefaultDBDSN = "host=localhost " +
		"user=cryptellation " +
		"password=cryptellation " +
		"dbname=forwardtests " +
		"sslmode=disable"

	// DefaultBinanceAPIKey is the default Binance API key.
	DefaultBinanceAPIKey = ""

	// DefaultBinanceSecretKey is the default Binance secret key.
	DefaultBinanceSecretKey = ""

	// DefaultTemporalAddress is the default Temporal address.
	DefaultTemporalAddress = "localhost:7233"

	// DefaultHealthAddress is the default health address.
	DefaultHealthAddress = ":9000"
)
View Source
const EnvBinanceAPIKey = "BINANCE_API_KEY"

EnvBinanceAPIKey is the environment variable name for the Binance API key in the config.

View Source
const EnvBinanceSecretKey = "BINANCE_SECRET_KEY"

EnvBinanceSecretKey is the environment variable name for the Binance secret key in the config.

View Source
const EnvHealthAddress = "HEALTH_ADDRESS"

EnvHealthAddress is the environment variable name for the health address in the config.

View Source
const EnvSQLDSN = "SQL_DSN"

EnvSQLDSN is the environment variable name for the database DSN in the config.

View Source
const EnvTemporalAddress = "TEMPORAL_ADDRESS"

EnvTemporalAddress is the environment variable name for the Temporal address in the config.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
sql
up

Jump to

Keyboard shortcuts

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