Versions in this module Expand all Collapse all v1 v1.15.1 Nov 7, 2019 Changes in this version + type ClientFlagsConfig struct + Prefix string + ShowEnabled bool + ShowServerName bool + func (c ClientFlagsConfig) AddFlags(flags *flag.FlagSet) + func (c ClientFlagsConfig) InitFromViper(v *viper.Viper) Options + type Options struct + CAPath string + CertPath string + ClientCAPath string + Enabled bool + KeyPath string + ServerName string + func (p Options) Config() (*tls.Config, error) + type ServerFlagsConfig struct + Prefix string + ShowClientCA bool + ShowEnabled bool + func (c ServerFlagsConfig) AddFlags(flags *flag.FlagSet) + func (c ServerFlagsConfig) InitFromViper(v *viper.Viper) Options