feat: basic file handling

This commit is contained in:
2026-02-15 16:31:49 +01:00
parent fccc976b4e
commit f85afce949
4 changed files with 142 additions and 4 deletions

14
config/config.go Normal file
View File

@@ -0,0 +1,14 @@
package config
type Config struct {
NetInterface string
Htdocs string
}
func GetConfig() *Config {
//TODO: Load config from file
return &Config{
NetInterface: "127.0.0.1:80",
Htdocs: "./htdocs",
}
}