Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTLSConfig ¶
GetTLSConfig gets a tls.Config object from the given certs, key, and CA files. you must give the full path to the files. If all files are blank and InsecureSkipVerify=false, returns a nil pointer. shamelessly copied from telegraf (https://github.com/influxdata/telegraf/blob/master/internal/internal.go)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.