Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ExchangeApi ExchangeApiConfig `mapstructure:"exchange-api"` MongoDB MongoDBConfig `mapstructure:"mongo-db"` Server ServerConfig `mapstructure:"server"` }
func LoadConfigs ¶
type ExchangeApiConfig ¶
type MongoDBConfig ¶
type MongoDBConfig struct {
URL string `mapstructure:"url"`
}
type ServerConfig ¶
type ServerConfig struct {
Port string `mapstructure:"port"`
}
Click to show internal directories.
Click to hide internal directories.