更新 types/etcd.go
This commit is contained in:
parent
9bb2a1d730
commit
ec2bf11981
|
@ -1,12 +1,12 @@
|
||||||
package types
|
package types
|
||||||
|
|
||||||
type Etcd struct {
|
type Etcd struct {
|
||||||
Endpoints []string `yaml:"Endpoints"`
|
Endpoints []string `json:"Endpoints"`
|
||||||
Tls EtcdTls `yaml:"Tls"`
|
Tls EtcdTls `json:"Tls"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type EtcdTls struct {
|
type EtcdTls struct {
|
||||||
Ca string `yaml:"Ca"`
|
Ca string `json:"Ca"`
|
||||||
Cert string `yaml:"Cert"`
|
Cert string `json:"Cert"`
|
||||||
CertKey string `yaml:"CertKey" `
|
CertKey string `json:"CertKey" `
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue