add diagnostic api http server

This commit is contained in:
Murat Kabilov
2017-08-15 12:20:09 +02:00
parent 51fdfb90f7
commit 82d5583809
3 changed files with 224 additions and 1 deletions
+1
View File
@@ -61,6 +61,7 @@ type Config struct {
MasterDNSNameFormat stringTemplate `name:"master_dns_name_format" default:"{cluster}.{team}.{hostedzone}"`
ReplicaDNSNameFormat stringTemplate `name:"replica_dns_name_format" default:"{cluster}-repl.{team}.{hostedzone}"`
Workers uint32 `name:"workers" default:"4"`
APIPort int `name:"api_port" default:"8080"`
RingLogLines int `name:"ring_log_lines" default:"100"`
}