新增etcd认证配置

This commit is contained in:
duanhf2012
2025-01-08 18:11:20 +08:00
parent d4966ea129
commit 3a4350769c
3 changed files with 54 additions and 12 deletions

View File

@@ -15,9 +15,15 @@ import (
var json = jsoniter.ConfigCompatibleWithStandardLibrary
type EtcdList struct {
NetworkName []string
Endpoints []string
UserName string
Password string
Cert string
CertKey string
Ca string
}
type EtcdDiscovery struct {