engine/types/etcd.go

13 lines
259 B
Go
Raw Normal View History

2024-02-11 01:31:01 +08:00
package types
type Etcd struct {
Endpoints []string `json:"endpoints"`
Tls EtcdTls `json:",optional"`
}
type EtcdTls struct {
Ca string `json:"ca,optional"`
Cert string `json:"cert,optional"`
CertKey string `json:"cert_key,optional" `
}