Versions in this module Expand all Collapse all v1 v1.0.0 Oct 10, 2026 Changes in this version + const DEFAULT_CLEANUP_SEC + const DEFAULT_MAX_REQUEST_BODY_SIZE_MB + const DEFAULT_MAX_UPLOAD_SIZE_MB + const DEFAULT_MONITORING_PORT + const DEFAULT_PORT + const DEFAULT_TYPESENSE_KEY + const DEFAULT_UPLOAD_URL_TIMEOUT_SEC + var ConfigStore atomic.Value + func InitConfig(configFile string) error + func MockConfig(mockConfig *Configuration) + type AccountGenerationHttpService struct + Headers struct{ ... } + Timeout int + Url string + type AccountNumberGenerationConfig struct + EnableAutoGeneration bool + HttpService AccountGenerationHttpService + type Configuration struct + AccountNumberGeneration AccountNumberGenerationConfig + AwsAccessKeyId string + AwsSecretAccessKey string + BackupDir string + DataSource DataSourceConfig + EnableObservability bool + EnableTelemetry bool + MonitoringDSN string + Notification Notification + ProjectName string + Queue QueueConfig + RateLimit RateLimitConfig + Reconciliation ReconciliationConfig + Redis RedisConfig + S3BucketName string + S3Endpoint string + S3Region string + Server ServerConfig + TelemetryEndpoint string + TelemetryKey string + TokenizationSecret string + Transaction TransactionConfig + TypeSense TypeSenseConfig + TypeSenseKey string + func Fetch() (*Configuration, error) + func (cnf *Configuration) RemoteMonitoringDSN() string + func (cnf *Configuration) UploadDomainWhitelistHosts() []string + func (cnf *Configuration) WebhookSigningSecret() string + type DataSourceConfig struct + ConnMaxIdleTime time.Duration + ConnMaxLifetime time.Duration + Dns string + MaxIdleConns int + MaxOpenConns int + type HashChainConfig struct + BatchSize int + Enabled bool + PollInterval time.Duration + TrailingDelay time.Duration + type Notification struct + Slack SlackWebhook + Webhook WebhookConfig + type QueueConfig struct + BackpressureCheckInterval time.Duration + BackpressureMaxPendingTasks int + BackpressureMemoryPercent float64 + EnableBackpressure bool + EnableHotLane bool + HotPairLockContentionThreshold int + HotPairTTL time.Duration + HotQueueConcurrency int + HotQueueName string + IndexQueue string + InflightCommitQueue string + InflightExpiryQueue string + InsufficientFundRetries bool + MaxRetryAttempts int + MonitoringPort string + NumberOfQueues int + RejectLockContentionImmediately bool + TransactionQueue string + TransactionWorkerConcurrency int + WebhookConcurrency int + WebhookQueue string + type RateLimitConfig struct + Burst *int + CleanupIntervalSec *int + RequestsPerSecond *float64 + type ReconciliationConfig struct + DefaultStrategy string + MaxRetries int + ProgressInterval int + RetryDelay time.Duration + type RedisConfig struct + ConnMaxIdleTime time.Duration + Dns string + MinIdleConns int + PoolSize int + SkipTLSVerify bool + type ServerConfig struct + AllowLegacyAPIKeys *bool + CertStoragePath string + Domain string + Email string + MaxRequestBodySizeMB int64 + MaxUploadSizeMB int64 + MetricsBearerToken string + Port string + SSL bool + SecretKey string + Secure bool + UploadDomainWhitelist string + UploadURLTimeoutSec int + type SlackWebhook struct + WebhookUrl string + type TransactionConfig struct + BatchSize int + DisableBatchReferenceCheck bool + EnableCoalescing bool + EnableQueuedChecks bool + HashChain HashChainConfig + IndexQueuePrefix string + LockDuration time.Duration + LockWaitTimeout time.Duration + MaxQueueSize int + MaxWorkers int + type TypeSenseConfig struct + BackpressureRetryInterval time.Duration + Dns string + type WebhookConfig struct + BlockPrivateDestinations bool + Headers map[string]string + SigningSecret string + TimeoutSec int + Url string