tls_config.go 265 B

123456789101112
  1. package server
  2. import (
  3. "crypto/tls"
  4. )
  5. // TLSConfig holds the TLS configuration.
  6. type TLSConfig struct {
  7. Scheme string // http or https
  8. Server tls.Config // Used by the Raft or etcd Server transporter.
  9. Client tls.Config // Used by the Raft peer client.
  10. }