Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *gorm.DB
Functions ¶
func ConnectDatabase ¶
func ConnectDatabase()
func GetCa ¶
func GetCa() (*x509.Certificate, *rsa.PrivateKey)
GetCa loads the Certificate Authority certificate and private key
func GetCertificateFunc ¶
func GetCertificateFunc(helloInfo *tls.ClientHelloInfo) (*tls.Certificate, error)
GetCertificateFunc copies the certificate from the given server and returns one signed by the CA
Types ¶
Click to show internal directories.
Click to hide internal directories.