feat: basic file handling

This commit is contained in:
tilo committed 2026-02-15 16:31:49 +01:00
1 parent fccc976b4e
commit f85afce949
4 files changed
+142 -4

No files matched your search

+14
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",
}
}