Documentation ¶
Overview ¶
Package setupserver assists in setting up TLS credentials for a server.
Package setupserver provides convenience functions for setting up a server with TLS credentials.
The package loads client and server certificates from files and registers them with the lib/srpc package. The following command-line flags are registered with the standard flag package:
-caFile: Name of file containing the root of trust -certFile: Name of file containing the SSL certificate -keyFile: Name of file containing the SSL key
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupTlsClientOnly ¶
func SetupTlsClientOnly() error
func SetupTlsWithParams ¶ added in v0.3.2
Types ¶
Click to show internal directories.
Click to hide internal directories.