config

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2026 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	DataDir                    string
	UPIID                      string
	UPIPayeeName               string
	APIKey                     string
	SMSWebhookSecret           string
	LegacySMSWebhookSecret     string
	LegacySMSWebhookEnabled    bool
	PaymentTTL                 time.Duration
	AmountQuarantine           time.Duration
	OutgoingWebhookURL         string
	OutgoingWebhookSecret      string
	GMessagesEnabled           bool
	GMessagesSessionPath       string
	TestMode                   bool
	RateLimitsEnabled          bool
	RetentionEnabled           bool
	SMSRawRetention            time.Duration
	ReconciliationRawRetention time.Duration
	AuditRetention             time.Duration
	BackupCron                 string
	BackupMaxKeep              int
	BackupS3Enabled            bool
	BackupS3Bucket             string
	BackupS3Region             string
	BackupS3Endpoint           string
	BackupS3AccessKey          string
	BackupS3Secret             string
	BackupS3ForcePathStyle     bool
	OperatorAlertWebhookURL    string
	OperatorAlertWebhookSecret string
	StatementTimezone          string
}

func Load

func Load() (Config, error)

func (Config) ValidateServe

func (c Config) ValidateServe() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL