config

package
v0.0.0-...-e05834b Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Config tomlConfig

Functions

func LoadConfig

func LoadConfig() (err error)

Types

type DomainPac

type DomainPac struct {
	//不允许访问
	Deny []string
	//允许访问
	Allow []string
}

is_pac设置下才有效

type ForwardServer

type ForwardServer struct {
	Type ssh.ForwardType

	Delay time.Duration

	ssh.ForwardConfig
}

type ProxyServer

type ProxyServer struct {
	ssh.SSHConfig
	Delay     time.Duration
	Inner     map[string]*ssh.ProxyIni
	DomainPac DomainPac
}

Jump to

Keyboard shortcuts

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