style: replace Tls by TLS

This commit is contained in:
Henrique Dias
2018-04-21 08:42:23 +01:00
parent 4dc7bae6ea
commit 3d06904d1f
+3 -3
View File
@@ -150,7 +150,7 @@ func parseConfig() *cfg {
data := struct { data := struct {
Address string `json:"address" yaml:"address"` Address string `json:"address" yaml:"address"`
Port string `json:"port" yaml:"port"` Port string `json:"port" yaml:"port"`
Tls bool `json:"tls" yaml:"tls"` TLS bool `json:"tls" yaml:"tls"`
Cert string `json:"cert" yaml:"cert"` Cert string `json:"cert" yaml:"cert"`
Key string `json:"key" yaml:"key"` Key string `json:"key" yaml:"key"`
Scope string `json:"scope" yaml:"scope"` Scope string `json:"scope" yaml:"scope"`
@@ -160,7 +160,7 @@ func parseConfig() *cfg {
}{ }{
Address: "0.0.0.0", Address: "0.0.0.0",
Port: "0", Port: "0",
Tls: false, TLS: false,
Cert: "cert.pem", Cert: "cert.pem",
Key: "key.pem", Key: "key.pem",
Scope: "./", Scope: "./",
@@ -181,7 +181,7 @@ func parseConfig() *cfg {
config := &cfg{ config := &cfg{
address: data.Address, address: data.Address,
port: data.Port, port: data.Port,
tls: data.Tls, tls: data.TLS,
cert: data.Cert, cert: data.Cert,
key: data.Key, key: data.Key,
auth: map[string]string{}, auth: map[string]string{},