Documentation
¶
Index ¶
Constants ¶
View Source
const ( // HTTPConfTLSCAFile the TLS certificate authority file for the HTTP server HTTPConfTLSCAFile = "caFile" // HTTPConfTLSCertFile the TLS certificate file for the HTTP server HTTPConfTLSCertFile = "certFile" // HTTPConfTLSClientAuth whether the HTTP server requires a mutual TLS connection HTTPConfTLSClientAuth = "clientAuth" // HTTPConfTLSEnabled whether TLS is enabled for the HTTP server HTTPConfTLSEnabled = "enabled" // HTTPConfTLSKeyFile the private key file for TLS on the server HTTPConfTLSKeyFile = "keyFile" )
View Source
const ( ServerType = "server" ClientType = "client" )
Variables ¶
This section is empty.
Functions ¶
func ConstructTLSConfig ¶
func InitTLSConfig ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.