added mirrored repos to config

This commit is contained in:
2026-04-20 19:08:44 -06:00
parent 727e9f40af
commit 6fdf5a4a52
4 changed files with 12 additions and 7 deletions
+5 -4
View File
@@ -7,10 +7,11 @@ import (
)
type Config struct {
CacheRoot string `toml:"cache_root"`
MirrorURL string `toml:"mirror_url"`
Port string `toml:"port"`
Auth AuthConfig `toml:"auth"`
CacheRoot string `toml:"cache_root"`
MirrorURL string `toml:"mirror_url"`
MirroredRepos []string `toml:"mirrored_repos"`
Port string `toml:"port"`
Auth AuthConfig `toml:"auth"`
}
type AuthConfig struct {