Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Version is set during build time Version string )
Functions ¶
func Daemon ¶
func Daemon(flags *Config)
Daemon is the main entry point for starting the application
func ValidateConfig ¶
ValidateConfig performs validation on the configuration
Types ¶
type Config ¶
type Config struct { Debug bool Version string CacheDir string Mode int Listen string Mirrors MirrorConfig }
Config holds all application configuration
func ParseFlags ¶
ParseFlags parses command-line flags and returns a Config
type MirrorConfig ¶
type MirrorConfig struct { Ubuntu string UbuntuPorts string Debian string DebianSecurity string CentOS string Alpine string Rocky string Fedora string }
MirrorConfig holds mirror-specific configuration
Click to show internal directories.
Click to hide internal directories.