Browse Source

doc(server): some basic docs on the tls_config object

This should be refactored but something to remember while refactoring.
Brandon Philips 12 years ago
parent
commit
58e1f12240
1 changed files with 3 additions and 3 deletions
  1. 3 3
      server/tls_config.go

+ 3 - 3
server/tls_config.go

@@ -6,7 +6,7 @@ import (
 
 // TLSConfig holds the TLS configuration.
 type TLSConfig struct {
-	Scheme string
-	Server tls.Config
-	Client tls.Config
+	Scheme string     // http or https
+	Server tls.Config // Used by the Raft or etcd Server transporter.
+	Client tls.Config // Used by the Raft peer client.
 }