Documentation ¶
Overview ¶
Package dialer provides a grpc dialer that can be used to create grpc client connections with different levels of ATLS encryption / verification.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dialer ¶
type Dialer struct {
// contains filtered or unexported fields
}
Dialer can open grpc client connections with different levels of ATLS encryption / verification.
func (*Dialer) Dial ¶
func (d *Dialer) Dial(target string) (*grpc.ClientConn, error)
Dial creates a new grpc client connection to the given target using the atls validator.
func (*Dialer) DialInsecure ¶
func (d *Dialer) DialInsecure(target string) (*grpc.ClientConn, error)
DialInsecure creates a new grpc client connection to the given target without using encryption or verification. Only use this method when using another kind of encryption / verification (VPN, etc).
func (*Dialer) DialNoVerify ¶
func (d *Dialer) DialNoVerify(target string) (*grpc.ClientConn, error)
DialNoVerify creates a new grpc client connection to the given target without verifying the server's attestation.