config

package
v0.0.0-...-a5406a4 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultMotd = `` /* 1942-byte string literal not displayed */

Variables

View Source
var (
	Config configMain
)

Functions

func LoadConfig

func LoadConfig()

func LoadLists

func LoadLists(isReload bool) bool

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"`
	SocketOptions *outbound2.SocketOptions `json:",omitempty"`
	Outbound      outbound                 `json:",omitempty"`
}

type Sample

type Sample struct {
	Name string `json:"name"`
	ID   string `json:"id"`
}

Jump to

Keyboard shortcuts

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