Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶
type AppConfig struct { TLS TLS Clients []Client Payment []PaymentProvider Storage Storage Locker Locker Insecure bool Address string }
AppConfig is the main config structure export DIGOTA_LOCKER...=val
func LoadConfig ¶
LoadConfig read env vars and *AppConfig or error
type PaymentProvider ¶
type PaymentProvider struct { Provider string Secret string Live bool MerchId string PublicKey string PrivateKey string }
PaymentProvider is the payment provider config
Click to show internal directories.
Click to hide internal directories.