Documentation ¶
Index ¶
Constants ¶
View Source
const CA_CERT_PATH_ENV_VAR = "FS3_CA_PATH"
View Source
const CERT_PATH_ENV_VAR = "FS3_SIGNED_CERTIFICATE_PATH"
View Source
const DEFAULT_CA_CERT_PATH = "/certificates/fs3-ca-cert.pem"
View Source
const DEFAULT_CERT_PATH = "/certificates/server-cert.pem"
View Source
const DEFAULT_KEY_PATH = "/certifcates/server-key.pem"
View Source
const KEY_PATH_ENV_VAR = "FS3_SIGNED_KEY_PATH"
Variables ¶
This section is empty.
Functions ¶
func GetClientTLSCredentials ¶
func GetClientTLSCredentials() (credentials.TransportCredentials, error)
func GetServerTLSCredentials ¶
func GetServerTLSCredentials() (credentials.TransportCredentials, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.