Documentation ¶ Index ¶ func New(c *protocol.Protocol_Simple) protocol.WrapProxy type Simple func (c *Simple) Conn(ctx context.Context, _ netapi.Address) (net.Conn, error) func (c *Simple) 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_Simple) protocol.WrapProxy Types ¶ type Simple ¶ type Simple struct { netapi.EmptyDispatch // contains filtered or unexported fields } func (*Simple) Conn ¶ func (c *Simple) Conn(ctx context.Context, _ netapi.Address) (net.Conn, error) func (*Simple) PacketConn ¶ func (c *Simple) PacketConn(ctx context.Context, addr netapi.Address) (net.PacketConn, error) Source Files ¶ View all Source files simple.go Click to show internal directories. Click to hide internal directories.