config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2026 License: Apache-2.0 Imports: 4 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 {
	DBConfig       DatabaseConnectionConfig
	SnapshotConfig SnapshotConfig
	S3ClientConfig S3ClientConfig
}

func GetConfig

func GetConfig() (*Config, error)

type DatabaseConnectionConfig

type DatabaseConnectionConfig struct {
	Host     string
	Port     int
	User     string
	Password string
	DBName   string
	PoolSize int
}

type S3ClientConfig

type S3ClientConfig struct {
	Endpoint        string
	AccessKey       string
	SecretAccessKey string
	Region          string
	Secure          bool
}

type SnapshotConfig

type SnapshotConfig struct {
	Schema                 string
	Table                  string
	PartitionColumn        string
	Parallelism            int
	FetchSize              int
	FileSizeThresholdBytes int64
	FilePath               string
	Bucket                 string
}

Jump to

Keyboard shortcuts

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