Define

package
v0.0.0-...-7685a06 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2021 License: GPL-3.0 Imports: 0 Imported by: 4

Documentation

Index

Constants

View Source
const (
	// basic type
	HTTP  = "http"
	SOCK4 = "sock4"
	SOCK5 = "sock5"

	// extends type
	SOCK5UDP = "sock5-udp"
	SOCK5TCP = "sock5-tcp"
)

proxy type

usage:
1. use to check recv dbus method
2. use to make
use to mark current proxy type
View Source
const (
	ConfigName = "proxy.yaml"
	ScriptName = "clean_script.sh"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Priority

type Priority int
const (
	MainPriority Priority = iota
	AppPriority
	GlobalPriority
)

proxy priority

type Scope

type Scope string

proxy name

usage:
1. use to create DBus project, to mark current proxy type
2. use to create Iptables chain name
3. use to create cgroups controller name
const (
	Main   Scope = "Main"
	App    Scope = "App"
	Global Scope = "Global"
)

func (Scope) String

func (s Scope) String() string

Jump to

Keyboard shortcuts

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