info.go 462 B

1234567891011121314151617
  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. RaftListenHost string `json:"raftListenHost"`
  10. EtcdListenHost string `json:"etcdListenHost"`
  11. RaftTLS TLSInfo `json:"raftTLS"`
  12. EtcdTLS TLSInfo `json:"etcdTLS"`
  13. }