更新 types/etcd.go

This commit is contained in:
yanweidong 2024-10-03 20:52:35 +08:00
parent ec2bf11981
commit 3b5719bc91
1 changed files with 4 additions and 4 deletions

View File

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