Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNotProduction ¶
func IsNotProduction() bool
IsNotProduction returns true if application is running in DevMode or MockMode
Types ¶
type Config ¶
type Config struct { InfluxDBHost string InfluxDBPort string APIPort string MachineName string PdfAPIURL string Version string SEQUrl string SEQAPIKey string EnableRequestLog bool EnablePrintRequest bool Environment string SEQDomain string ApplicationName string URLBBRegisterBoleto string CaixaEnv string URLCaixaRegisterBoleto string URLBBToken string URLCitiBoleto string URLCiti string URLStoneToken string StoneTokenDurationInMinutes int StoneAudience string StoneClientID string AzureStorageAccount string AzureStorageAccessKey string AzureStorageContainerName string AzureStorageOpenBankSkPath string AzureStorageOpenBankSkName string AzureStorageJPMorganPkName string AzureStorageJPMorganCrtName string AzureStorageJPMorganSignCrtName string MockMode bool DevMode bool HTTPOnly bool AppURL string ElasticURL string MongoURL string MongoUser string MongoPassword string MongoDatabase string MongoBoletoCollection string MongoCredentialsCollection string MongoTokenCollection string MongoAuthSource string MongoTimeoutConnection int TokenSafeDurationInMinutes int BoletoJSONFileStore string DisableLog bool MaskLogs bool CertBoletoPathCrt string CertBoletoPathKey string CertBoletoPathCa string CertICP_PathPkey string CertICP_PathChainCertificates string URLTicketSantander string URLRegisterBoletoSantander string URLBradescoShopFacil string URLBradescoNetEmpresa string ItauEnv string SantanderEnv string URLTicketItau string URLRegisterBoletoItau string RecoveryRobotExecutionEnabled string RecoveryRobotExecutionInMinutes string TimeoutRegister string TimeoutToken string TimeoutDefault string URLPefisaToken string URLPefisaRegister string EnableMetrics bool CertificatesPath string AzureTenantId string AzureClientId string AzureClientSecret string VaultName string CertificateICPName string PswCertificateICP string CertificateSSLName string PswCertificateSSL string CitibankCertificateSSLName string SantanderCertificateSSLName string EnableFileServerCertificate bool SplunkAddress string SplunkKey string SplunkSourceType string SplunkIndex string SplunkEnabled bool SeqEnabled bool WaitSecondsRetentationLog string ConnQueue string OriginExchange string OriginQueue string OriginRoutingKey string TimeToRecoveryWithQueueInSeconds string Heartbeat string RetryNumberGetBoleto int QueueMaxTLS string QueueMinTLS string QueueByPassCertificate bool ForceTLS bool NewRelicAppName string NewRelicLicence string TelemetryEnabled bool URLStoneRegister string BuildVersion string AzureStorageUploadPath string AzureStorageFallbackFolder string URLJPMorgan string }
Config é a estrutura que tem todas as configurações da aplicação
Click to show internal directories.
Click to hide internal directories.