implmented fetch on cache miss

This commit is contained in:
2026-04-13 17:26:15 -06:00
parent dc21cc8f5b
commit 54315ced9d
6 changed files with 135 additions and 21 deletions
+13
View File
@@ -0,0 +1,13 @@
package main
type Config struct {
RepoPath string
MirrorURL string
}
func NewConfig() *Config {
return &Config{
RepoPath: "/home/ewpt3ch/dev/pacman-cache-server/tmprepo",
MirrorURL: "https://us.mirrors.cicku.me/archlinux/",
}
}