Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBaseTLSConfig ¶
func NewMutualTLSConfig ¶
func NewTLSCredentials ¶
func NewTLSCredentials( caPath string, certPath string, keyPath string, cn string, ) (credentials.TransportCredentials, error)
Types ¶
type TLS ¶
type TLS struct {
	CAPath   string `env:"CA_PATH,   required, report"`
	CertPath string `env:"CERT_PATH, required, report"`
	KeyPath  string `env:"KEY_PATH,  required, report"`
}
    func (TLS) Credentials ¶
func (t TLS) Credentials(cn string) credentials.TransportCredentials
 Click to show internal directories. 
   Click to hide internal directories.