mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
20 lines
495 B
Go
20 lines
495 B
Go
package server
|
|
|
|
// Info describes the non-mutable state of the server upon initialization.
|
|
// These fields cannot be changed without deleting the server fields and
|
|
// reinitializing.
|
|
type Info struct {
|
|
Name string `json:"name"`
|
|
|
|
RaftURL string `json:"raftURL"`
|
|
EtcdURL string `json:"etcdURL"`
|
|
WebURL string `json:"webURL"`
|
|
|
|
RaftListenHost string `json:"raftListenHost"`
|
|
EtcdListenHost string `json:"etcdListenHost"`
|
|
|
|
RaftTLS TLSInfo `json:"raftTLS"`
|
|
EtcdTLS TLSInfo `json:"etcdTLS"`
|
|
}
|
|
|