config

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSConfig

type AWSConfig struct {
	Profile string
	Region  string
}

AWSConfig holds AWS-specific configuration

type AppConfig

type AppConfig struct {
	Verbose bool
	Quiet   bool
}

AppConfig holds application-level configuration

type Config

type Config struct {
	AWSProfile   string
	AWSRegion    string
	Concurrency  int
	RateLimitRPS float64
	Verbose      bool
	Quiet        bool
	LogFile      string
}

Config holds container configuration

func DefaultConfig

func DefaultConfig() *Config

DefaultConfig returns default configuration

func (*Config) AWS

func (c *Config) AWS() AWSConfig

AWS returns AWS configuration

func (*Config) App

func (c *Config) App() AppConfig

App returns application configuration

func (*Config) Logging

func (c *Config) Logging() LoggingConfig

Logging returns logging configuration

func (*Config) Performance

func (c *Config) Performance() PerformanceConfig

Performance returns performance configuration

type LoggingConfig

type LoggingConfig struct {
	File string
}

LoggingConfig holds logging configuration

type PerformanceConfig

type PerformanceConfig struct {
	Concurrency  int
	RateLimitRPS float64
}

PerformanceConfig holds performance-related configuration

Jump to

Keyboard shortcuts

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