更新 types/etcd.go

This commit is contained in:
yanweidong 2024-10-03 20:47:47 +08:00
parent 9bb2a1d730
commit ec2bf11981
1 changed files with 5 additions and 5 deletions

View File

@ -1,12 +1,12 @@
package types
type Etcd struct {
Endpoints []string `yaml:"Endpoints"`
Tls EtcdTls `yaml:"Tls"`
Endpoints []string `json:"Endpoints"`
Tls EtcdTls `json:"Tls"`
}
type EtcdTls struct {
Ca string `yaml:"Ca"`
Cert string `yaml:"Cert"`
CertKey string `yaml:"CertKey" `
Ca string `json:"Ca"`
Cert string `json:"Cert"`
CertKey string `json:"CertKey" `
}