darkflag

package
v1.122.13 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ArgFreelancerFolder   = flag.String("freelancer-folder", "", "path to Freelancer folder root for data parsing. By default grabs current workdir")
	ArgFreelancerFallback = flag.String("freelancer-fallback", "", "if some configs aren't defined in first freelancer folder, grab from this one. Useful for FLSR usage in CI")
)
View Source
var (
	ArgWebPort           = flag.Int("web-port", 8000, "Main web port")
	ArgEnableUnixSockets = flag.Bool("unix-sockets-on", false, "Enable unix sockets for connections")
	ArgPassword          = flag.String("password", "", "protect access to web interface of darkstat with ?password=query_param")
)
View Source
var (
	TradeDealsEnabled       = flag.Bool("stat-deals-on", false, "flag to show or not best trade deals in stat service. PERFORMANCE HEAVY. by default off. disable if not needed")
	StatSiteRoot            = flag.String("stat-site-root", "/", "useful if wishing serving darkstat from github pages sub urls. Makes sure correct link addresses")
	TradeDealsDetailedLanes = flag.Bool("stat-trade-detailed-lanes-on", false, "experimental option that allows to recieve more precise graph calculations by treating trade lane segments separately. Performance heavy.")
	StatDefaultTheme        = flag.String("stat-default-theme", "white", "default shell theme for index.html redirect: white, dark, or vanilla. localStorage darkstat-theme overrides when set. flags before web or build")

	IsMapRunWithDarkstatEnabled = flag.Bool("map-on", false, "flag to turn on map as part of darkstat. PERFORMANCE HEAVY. use standalone map through `map web` or `map build` command if u wish it faster and with less resources")

	// TODO some day to delete as DEPRECATED
	DeprecatedIsMapRunWithDarkstatEnabled = flag.Bool("experimental-map-on", false, "DEPRECATED. use --map-on flag instead")
)
View Source
var (
	ArgMapRoot = flag.String("map-site-root", "/", "map site root")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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