config

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

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

Go to latest
Published: Sep 24, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Config configMain
	Lists  map[string]*set.StringSet
)

Functions

func LoadConfig

func LoadConfig()

func LoadLists

func LoadLists(isReload bool) bool

func MonitorConfig

func MonitorConfig(watcher *fsnotify.Watcher) error

Types

type ConfigProxyService

type ConfigProxyService struct {
	Name          string
	TargetAddress string
	TargetPort    uint16
	Listen        uint16
	Flow          string

	IPAccess    access      `json:",omitempty"`
	Minecraft   minecraft   `json:",omitempty"`
	TLSSniffing tlsSniffing `json:",omitempty"`
	Outbound    outbound    `json:",omitempty"`
}

Jump to

Keyboard shortcuts

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