Documentation ¶
Index ¶
- Constants
- Variables
- func GetServerCredentials(logger *log.Logger) (credentials.TransportCredentials, error)
- func GetTlsConfig(certName string) (*tls.Config, error)
- func GetTransportCredentials(drone ...*bool) (credentials.TransportCredentials, error)
- func InitRoot()
- func ReadServerCert(certName string, drone ...*bool) ([]byte, error)
Constants ¶
View Source
const (
ServCertLocal = "./serv_cert.pem"
)
Variables ¶
View Source
var ( ServCert = "/certs/serv_cert.pem" ServCertPrefixPath = "/certs/" ServKey = "/certs/serv_key.pem" )
View Source
var MashupCertPool *x509.CertPool
Functions ¶
func GetServerCredentials ¶
func GetServerCredentials(logger *log.Logger) (credentials.TransportCredentials, error)
func GetTransportCredentials ¶
func GetTransportCredentials(drone ...*bool) (credentials.TransportCredentials, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.