You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
595 B

2 months ago
package configStruct
type FavoriteConfig struct {
Global struct {
Source string `yaml:"Source"`
ChangeMe string `yaml:"ChangeMe"`
} `yaml:"Global"`
JWT struct {
SigningKey string `yaml:"signingKey"`
} `yaml:"JWT"`
Etcd struct {
Address string `yaml:"Address"`
Port string `yaml:"Port"`
} `yaml:"Etcd"`
Server struct {
Name string `yaml:"Name"`
Address string `yaml:"Address"`
Port string `yaml:"Port"`
} `yaml:"Server"`
Client struct {
Echo bool `yaml:"Echo"`
Foo string `yaml:"Foo"`
Servers []string `yaml:"Servers"`
} `yaml:"Client"`
}