info.go 495 B

12345678910111213141516171819
  1. package server
  2. // Info describes the non-mutable state of the server upon initialization.
  3. // These fields cannot be changed without deleting the server fields and
  4. // reinitializing.
  5. type Info struct {
  6. Name string `json:"name"`
  7. RaftURL string `json:"raftURL"`
  8. EtcdURL string `json:"etcdURL"`
  9. WebURL string `json:"webURL"`
  10. RaftListenHost string `json:"raftListenHost"`
  11. EtcdListenHost string `json:"etcdListenHost"`
  12. RaftTLS TLSInfo `json:"raftTLS"`
  13. EtcdTLS TLSInfo `json:"etcdTLS"`
  14. }