Match TLSConfig to the docs

This commit is contained in:
Yuce Tekol 2018-05-25 10:41:42 +03:00
parent 5cc4e07df1
commit 5ee2c45d4a
No known key found for this signature in database
GPG key ID: CB59E46D2FB90573

View file

@ -31,9 +31,9 @@ const (
// TLSConfig contains TLS configuration
type TLSConfig struct {
// CertificatePath contains the path to the certificate (.crt or .pem file)
CertificatePath string `toml:"certificate-path"`
CertificatePath string `toml:"certificate"`
// CertificateKeyPath contains the path to the certificate key (.key file)
CertificateKeyPath string `toml:"certificate-key-path"`
CertificateKeyPath string `toml:"key"`
// SkipVerify disables verification for self-signed certificates
SkipVerify bool `toml:"skip-verify"`
}