client

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2021 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GlobalConfig = &Config{
		LocalAddr: "127.0.0.1:1080",
	}
)

Functions

This section is empty.

Types

type Config

type Config struct {
	RunType    string `yaml:"runType"`
	LocalAddr  string `yaml:"localAddr"`
	RemoteAddr string `yaml:"remoteAddr"`
	Password   string
}

func GetConfig

func GetConfig() *Config

func Load

func Load(path string) (config *Config, err error)

Jump to

Keyboard shortcuts

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