Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Ciphers = []uint16{ tls.TLS_AES_256_GCM_SHA384, tls.TLS_AES_128_GCM_SHA256, tls.TLS_CHACHA20_POLY1305_SHA256, tls.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, tls.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, tls.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305, tls.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, tls.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, }
Ciphers is a list of safe-to-use ciphers.
Functions ¶
func LoadTLSConfig ¶
LoadTLSConfig loads server's certificate and private key
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.