config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 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
	DataLoaderConfig DataLoaderConfig
	S3ClientConfig   S3ClientConfig
}

func GetConfig

func GetConfig() (*Config, error)

type DataLoaderConfig

type DataLoaderConfig struct {
	Schema        string
	Table         string
	Path          string
	Bucket        string
	RowsBatchSize int
	CreateTable   bool
	TruncateTable bool
}

type DatabaseConnectionConfig

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

type S3ClientConfig

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

Jump to

Keyboard shortcuts

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