Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( APPLICATION_SETTINGS = AppSettings{ Host: "127.0.0.1", Port: 8083, Debug: os.Getenv("PAYAKA_DEBUG") == "1", } PAYMENT_GATE_SETTINGS = LoadPaymentGateSettings() )
Functions ¶
This section is empty.
Types ¶
type AppSettings ¶
type PaymentGateSettings ¶
type PaymentGateSettings struct { BitcoinInsightAPIURL string `json:"bitcoin_insight_api_url"` EthereumAPIURL string `json:"etherium_api_url"` BTCCommissionWallet string `json:"btc_commission_wallet"` BCHCommissionWallet string `json:"bch_commission_wallet"` PostgresConnectionString string `json:"pg_connection_string"` EtherscanAPIKey string `json:"etherscan_api_key"` }
func LoadPaymentGateSettings ¶
func LoadPaymentGateSettings() PaymentGateSettings
Click to show internal directories.
Click to hide internal directories.