torrc

package
v1.0.15 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TorService = struct {
		State   int
		Service *tor.Tor
	}{
		0,
		nil,
	}
	LocalService = TestIfServiceStartLocal()
)

Functions

func IsStart

func IsStart() bool

func NewTorDialer

func NewTorDialer() (dialer proxy.Dialer, err error)

func Socks5Dialer

func Socks5Dialer(addr string) (proxy.Dialer, error)

func StartTor

func StartTor() (err error)

func TestIfServiceStartLocal

func TestIfServiceStartLocal() bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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