Skip to main content

API Reference

The API reference is automatically documented by GoDoc and hosted by Go's published package mirror.

API Reference

Quick tip

For SOCKS4/SOCKS5 you would use

func New[T SocksClient](client T, target, proxy Context) (T, error)

A client can be Socks4Client or Socks5Client

As defined by:

type SocksClient interface {
*Socks4Client | *Socks5Client
// contains filtered or unexported methods
}

In contrast for HTTP(s) you would use

func (c *HTTPClient) PROXY(url string, proxy Context, timeout time.Duration) (conn Conn, err error)

When you get a grasp on those APIs, you will feel at home using Proxifier! You will notice that in fact proxifier is simple to use but powerful in design.