Documentation ¶
Index ¶
- Constants
- Variables
- func GetServerCredentials(logger *log.Logger) (credentials.TransportCredentials, error)
- func GetTlsConfig(certName string) (*tls.Config, error)
- func GetTransportCredentials() (credentials.TransportCredentials, error)
- func InitRoot()
- func ReadServerCert(certName string) ([]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() (credentials.TransportCredentials, error)
func ReadServerCert ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.