appconfig

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfig

func LoadConfig()

Types

type AppConfig

type AppConfig struct {
	SocksPort     int       `json:"socks-port"`
	HttpPort      int       `json:"http-port"`
	CoreTCPPort   int       `json:"core-tcp-port"`
	TestPortRange PortRange `json:"test-port-range"`
	NoBackground  bool      `json:"no-background,omitzero"`
}

func GetConfig

func GetConfig() AppConfig

type PortRange

type PortRange struct {
	Start int `json:"start"`
	End   int `json:"end"`
}

Jump to

Keyboard shortcuts

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