stillbox/pkg/gordio/config/config.go

16 lines
280 B
Go
Raw Normal View History

2024-07-14 13:47:48 -04:00
package config
type Config struct {
DB string `yaml:"db"`
JWTSecret string `yaml:"jwtsecret"`
Listen string `yaml:"listen"`
Public bool `yaml:"public"`
}
func ReadConfig() (*Config, error) {
return &Config{
JWTSecret: "s3c4r",
Listen: ":3050",
}, nil
}