Skip to content
forked from bdandy/go-socks4

Socks4 implementation for Go, compatible with net/proxy

License

Notifications You must be signed in to change notification settings

mmczoo/go-socks4

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

go-socks4

Socks4 implementation for Go, compatible with net/proxy

Usage

import (
	"golang.org/x/net/proxy"
	_ "github.com/Bogdan-D/go-socks4"
)

func main() {
	dialer, err := proxy.FromURL("socks4://ip:port",proxy.Direct)
	// check error
	// and use your dialer as you with
}

Tests

If you know proxy server to connect to tests should be running like this go test -socks4.address=localhost:8080

About

Socks4 implementation for Go, compatible with net/proxy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%