config

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Env indicates the environment name
	Env = config.GetEnv("ENV", "development")
	// NatsURL is the Nats instance used for publishing
	NatsURL = config.GetEnv("NATS_URL", nats.DefaultURL)
	// NumSubscribers is the number of trade subscribers
	NumSubscribers = config.GetIntEnv("NUM_SUBSCRIBERS", 4)
	// Subject is the subject for subscribing to trades
	Subject = config.GetEnv("SUBJECT", "trades")
	// ClickHouseURL it the URL of the ClickHouse instance
	ClickHouseURL = config.GetEnv("CLICKHOUSE_URL", "tcp://127.0.0.1:9000")
	// MigrationsURL is the URL of data migrations
	MigrationsURL = config.GetEnv("MIGRATIONS_URL", "file://model/migrations")
)

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