Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Params ¶
type Params struct { Config *tls.Config Dialer func(ctx context.Context, network, address string) (net.Conn, error) Meter *metrics.Scope Logger *zap.Logger ServiceName string TransportName string Dest string }
Params holds parameters needed for creating new TLSDialer.
type TLSDialer ¶
type TLSDialer struct {
// contains filtered or unexported fields
}
TLSDialer implements context dialer which creates TLS client connection and completes handshake using the connection created from underlying dialer.
func NewTLSDialer ¶
NewTLSDialer returns dialer which creates TLS client connection based on the given TLS configuration.
Click to show internal directories.
Click to hide internal directories.