config

package
v0.0.0-...-3e4f08c Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Conf = &Config{Listen: "127.0.0.1:6666"}

Functions

This section is empty.

Types

type Config

type Config struct {
	Listen     string `json:"listen"`
	SsServer   string `json:"ss_server"`
	SsCipher   string `json:"ss_cipher"`
	SsPassword string `json:"ss_password"`
	Auth       []struct {
		User string `json:"user"`
		Pwd  string `json:"pwd"`
	} `json:"auth"`
	Access []string `json:"access"`
	Deny   []string `json:"deny"`
}

Jump to

Keyboard shortcuts

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