Documentation ¶ Index ¶ func New(c *protocol.Protocol_Tls) protocol.WrapProxy type Tls func (t *Tls) Conn(ctx context.Context, addr netapi.Address) (net.Conn, error) func (t *Tls) PacketConn(ctx context.Context, addr netapi.Address) (net.PacketConn, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New(c *protocol.Protocol_Tls) protocol.WrapProxy Types ¶ type Tls ¶ type Tls struct { netapi.EmptyDispatch // contains filtered or unexported fields } func (*Tls) Conn ¶ func (t *Tls) Conn(ctx context.Context, addr netapi.Address) (net.Conn, error) func (*Tls) PacketConn ¶ func (t *Tls) PacketConn(ctx context.Context, addr netapi.Address) (net.PacketConn, error) Source Files ¶ View all Source files tls.go Click to show internal directories. Click to hide internal directories.