Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadConfig ¶
ReadConfig reads configuration from command
Types ¶
type Config ¶
type Config struct { AppName string Port int64 GRPCPort int64 CORSHosts []string AdminDB DBConfig CustomerDB DBConfig StellarCoreDB DBConfig Services ServicesConfig StellarNetwork StellarNetworkConfig Site SiteConfig WebLinks WebLinksConfig SQLMigrationDir string ApplicationDir string IsDevSystem bool ConnectToCoreDB bool Kyc KycConfig Promo PromoConfig }
Config for the app
var Cnf *Config
Cnf holds the application configuration
type ServicesConfig ¶
ServicesConfig holds the config for all services
type SiteConfig ¶
SiteConfig globals that define the site behaviour
type StellarNetworkConfig ¶
type StellarNetworkConfig struct {
HorizonURL string
}
StellarNetworkConfig - stellar network config
type WebLinksConfig ¶
WebLinksConfig links that are used in the clients (e.g. token confirm)
Click to show internal directories.
Click to hide internal directories.