initial import

This commit is contained in:
2026-01-23 14:41:49 +02:00
commit 772657d9be
37 changed files with 11382 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
package config
type Config struct {
Service Service `json:"service" yaml:"service"`
}
func NewConfig() (*Config, error) {
var err error
return &Config{
Service: Service{
Address: "0.0.0.0",
Port: 1025,
},
}, err
}
type Service struct {
Address string `json:"address" yaml:"address"`
Port int64 `json:"port" yaml:"port"`
}