type golang.org/x/net/internal/socks.AuthMethod
9 uses
golang.org/x/net/internal/socks (current package)
client.go#L74: am := AuthMethod(b[1])
socks.go#L35: type AuthMethod int
socks.go#L76: AuthMethodNotRequired AuthMethod = 0x00 // no authentication required
socks.go#L77: AuthMethodUsernamePassword AuthMethod = 0x02 // use username/password
socks.go#L78: AuthMethodNoAcceptableMethods AuthMethod = 0xff // no acceptable authentication methods
socks.go#L133: AuthMethods []AuthMethod
socks.go#L138: Authenticate func(context.Context, io.ReadWriter, AuthMethod) error
socks.go#L287: func (up *UsernamePassword) Authenticate(ctx context.Context, rw io.ReadWriter, auth AuthMethod) error {
golang.org/x/net/proxy
socks5.go#L35: d.AuthMethods = []socks.AuthMethod{
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |