socks5

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStreamDialer

func NewStreamDialer(endpoint transport.StreamEndpoint) (transport.StreamDialer, error)

NewStreamDialer creates a client that routes connections to a SOCKS5 proxy listening at the given transport.StreamEndpoint.

Types

type StreamDialer

type StreamDialer struct {
	// contains filtered or unexported fields
}

func (*StreamDialer) Dial

func (c *StreamDialer) Dial(ctx context.Context, remoteAddr string) (transport.StreamConn, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL