package
1.3.1
Repository: https://github.com/hazaelsan/ssh-relay.git
Documentation: pkg.go.dev

# Functions

CertConfig creates a *tls.Config directive from a proto message, loading an X.509 certificate from the cert/key files specified.
ClientAuthType converts a proto ClientAuthType to its tls package equivalent.
Config creates a *tls.Config directive from a proto message.
TransportCreds returns the correct credentials for a gRPC connection.

# Constants

TLSMinVersion is the minimum SSL/TLS version supported.

# Variables

ErrBadClientAuthType is returned if the corresponding ClientAuthType could not be found.
ErrNoCertFile is returned if cert_file is not specified.
ErrNoKeyFile is returned if key_file is not specified.