socks

package
v0.0.0-...-0269b34 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSocksProxy

func NewSocksProxy(port string)

Types

type SocksAdapter

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

func NewSocks

func NewSocks(target socks.Addr, conn net.Conn) *SocksAdapter

func (*SocksAdapter) Addr

func (s *SocksAdapter) Addr() *C.Addr

func (*SocksAdapter) Close

func (s *SocksAdapter) Close()

func (*SocksAdapter) Connect

func (s *SocksAdapter) Connect(proxy C.ProxyAdapter)

Jump to

Keyboard shortcuts

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