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: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CoingeckoConfig

type CoingeckoConfig struct {
	BaseUrl string `yaml:"baseUrl" env:"OMIGA_COINGECKO_BASEURL"`
}

type Config

type Config struct {
	Coingecko CoingeckoConfig         `yaml:"coingecko"`
	Postgres  postgres.PostgresConfig `yaml:"postgres"`
	Exchanges map[string]Exchange     `yaml:"exchanges"`
}

type Exchange

type Exchange struct {
	MakerFee   float64 `yaml:"makerFee"`
	TakerFee   float64 `yaml:"takerFee"`
	SpreadFee  bool    `yaml:"spreadFee"`
	SupportAPI bool    `yaml:"supportAPI"`
}

Jump to

Keyboard shortcuts

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