We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
func ExampleServer() { s, err := socks5.NewClassicServer("127.0.0.1:1080", "127.0.0.1", "", "", 0, 60) if err != nil { log.Println(err) return } // You can pass in custom Handler s.ListenAndServe(nil) // #Output: }
I'm new, can you give an example or clarification in passing a custom Handler?
The text was updated successfully, but these errors were encountered:
I came here looking for the same thing. I want to redirect custom traffic over Tor but I don't understand how to set up this scenario.
Sorry, something went wrong.
No branches or pull requests
func ExampleServer() {
s, err := socks5.NewClassicServer("127.0.0.1:1080", "127.0.0.1", "", "", 0, 60)
if err != nil {
log.Println(err)
return
}
// You can pass in custom Handler
s.ListenAndServe(nil)
// #Output:
}
I'm new, can you give an example or clarification in passing a custom Handler?
The text was updated successfully, but these errors were encountered: