Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// Core
APIPort uint16
// Onboarding
StarterDESOSeed string
StarterDESONanos uint64
StarterPrefixNanosMap map[string]uint64
TwilioAccountSID string
TwilioAuthToken string
TwilioVerifyServiceID string
CompProfileCreation bool
MinSatoshisForProfile uint64
// Global State
GlobalStateRemoteNode string
GlobalStateRemoteSecret string
// Hot Feed
RunHotFeedRoutine bool
// Web Security
AccessControlAllowOrigins []string
SecureHeaderDevelopment bool
SecureHeaderAllowHosts []string
AdminPublicKeys []string
SuperAdminPublicKeys []string
// Analytics
AmplitudeKey string
// Images
GCPCredentialsPath string
GCPBucketName string
// Wyre
WyreUrl string
WyreAccountId string
WyreApiKey string
WyreSecretKey string
BuyDESOBTCAddress string
BuyDESOETHAddress string
BuyDESOSeed string
InfuraProjectID string
// Emails
SendgridApiKey string
SendgridDomain string
SendgridSalt string
SendgridFromName string
SendgridFromEmail string
SendgridConfirmEmailId string
// Jumio
JumioToken string
JumioSecret string
// Video Upload
CloudflareStreamToken string
CloudflareAccountId string
// Global State
ExposeGlobalState bool
GlobalStateAPIUrl string
// Supply Monitoring Routine
RunSupplyMonitoringRoutine bool
}
func LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.