constant

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConfigFile   = "config.yaml"
	ConfigSuffix = ".yaml"
	CacheFile    = ".cache"

	Localhost      = "127.0.0.1"
	ControllerPort = "9090"
	DashboardPort  = "8070"

	NotifyDelay = 2 * time.Second

	GitHubCDN  = "https://cdn.jsdelivr.net/gh/"
	MMDBSuffix = "@release/Country.mmdb"

	UIConfigMsgTitle = "配置提示"

	SubConverterUrl = "https://id9.cc"
)

Variables

View Source
var (
	PWD       string
	ConfigDir = "profile"
	CacheDir  = "cache"
)

Functions

func IsWindows

func IsWindows() bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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