Document consul configuration

This commit is contained in:
Alex Dadgar
2016-06-14 15:21:57 -07:00
parent c840219c81
commit d8e79759fc
6 changed files with 115 additions and 81 deletions

View File

@@ -113,8 +113,9 @@ func TestConfig_Parse(t *testing.T) {
CAFile: "/path/to/ca/file",
CertFile: "/path/to/cert/file",
KeyFile: "/path/to/key/file",
ServerAutoJoin: true,
ClientAutoJoin: true,
ServerAutoJoin: false,
ClientAutoJoin: false,
AutoAdvertise: false,
},
HTTPAPIResponseHeaders: map[string]string{
"Access-Control-Allow-Origin": "*",