proxychains

package
v0.0.0-...-61f35a2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	DBusPath = "/com/deepin/daemon/Network/ProxyChains"
)

Variables

This section is empty.

Functions

func SetLogger

func SetLogger(l *log.Logger)

Types

type Config

type Config struct {
	Type     string
	IP       string
	Port     uint32
	User     string
	Password string
}

type InvalidParamError

type InvalidParamError struct {
	Param string
}

func (InvalidParamError) Error

func (err InvalidParamError) Error() string

nolint

type Manager

type Manager struct {
	PropsMu sync.RWMutex

	Type     string
	IP       string
	Port     uint32
	User     string
	Password string
	// contains filtered or unexported fields
}

func NewManager

func NewManager(service *dbusutil.Service) *Manager

func (*Manager) GetExportedMethods

func (v *Manager) GetExportedMethods() dbusutil.ExportedMethods

func (*Manager) GetInterfaceName

func (*Manager) GetInterfaceName() string

func (*Manager) Set

func (m *Manager) Set(type0, ip string, port uint32, user, password string) *dbus.Error

Jump to

Keyboard shortcuts

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