You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- package cluster
-
- type Config struct {
- Enabled bool `json:"enabled"`
- NodeName string `json:"nodeName"` // 节点名称
- Announce string `json:"announce"` // 其他节点可通过该地址访问该节点,一般是外网地址
- Peers []string `json:"peers"` // 其他节点的Announce地址列表,可以包含自身的Announce地址
- RootCA string `json:"rootCA"`
- ClientCert string `json:"clientCert"`
- ClientKey string `json:"clientKey"`
- StoreBase string `json:"storeBase"` // 集群信息的存储路径,必须是一个目录
- }
|