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.
25 lines
591 B
25 lines
591 B
package configStruct
|
|
|
|
type FeedConfig 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"`
|
|
}
|
|
|