gemsocks5

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2021 License: MIT Imports: 2 Imported by: 4

README

go-gemini-socks5

Go Reference

SOCKS5 proxy for go-gemini.

go get github.com/makeworld-the-better-one/go-gemini-socks5

Import as "github.com/makeworld-the-better-one/go-gemini-socks5", use as gemsocks5.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProxyFunc

func ProxyFunc(proxyAddr string, auth *proxy.Auth) func(*net.Dialer, string) (net.Conn, error)

ProxyFunc takes the SOCKS5 proxy address and authentication, and returns a function that can be used in the go-gemini Client config. Authentication is optional, and auth can be set to nil to disable it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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