Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGatewayIP ¶
GetGatewayIP returns the default gateway IP address by executing 'ip route'
Types ¶
type TLSClient ¶
type TLSClient struct {
// contains filtered or unexported fields
}
TLSClient represents a non-TLS server that proxies connections to a TLS server
type TLSServer ¶
type TLSServer struct {
// contains filtered or unexported fields
}
TLSServer represents a TLS server with mTLS authentication
func NewTLSServer ¶
NewTLSServer creates a new TLS server with generated certificates
func (*TLSServer) GenerateClientCert ¶
GenerateClientCert generates a client certificate signed by the CA
func (*TLSServer) GetCACertPEM ¶
GetCACertPEM returns the CA certificate in PEM format
Click to show internal directories.
Click to hide internal directories.