configuration

package
v0.0.0-...-fe50809 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CoinbaseConfig

type CoinbaseConfig struct {
	Id         string `yaml:"id" env:"OMIGA_COINBASE_ID"`
	UseSandbox bool   `yaml:"useSandbox" env:"OMIGA_COINBASE_USESANDBOX"`
	BaseUrl    string `yaml:"baseUrl" env:"OMIGA_COINBASE_BASEURL"`
	ApiKey     string `yaml:"apiKey" env:"OMIGA_COINBASE_APIKEY"`
	Passphrase string `yaml:"passphrase" env:"OMIGA_COINBASE_PASSPHRASE"`
	SecretKey  string `yaml:"secretKey" env:"OMIGA_COINBASE_SECRETKEY"`
}

type Config

type Config struct {
	App      configuration.AppConfig `yaml:"app"`
	Pulsar   pulsar.PulsarConfig     `yaml:"pulsar"`
	Coinbase CoinbaseConfig          `yaml:"coinbase"`
	Postgres postgres.PostgresConfig `yaml:"postgres"`
}

Jump to

Keyboard shortcuts

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