darkflag

package
v1.151.2 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: AGPL-3.0 Imports: 5 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 (
	ArgMapRoot     = flag.String("map-site-root", "/", "map site root")
	ArgMapPadding  = flag.String("map-padding", "1.0", "map padding")
	DisableDevMode = flag.Bool("dev-mode-off", false, "Disabling dev mode")
)
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.")
	TradeRoutesBestZonerForbiddenRoutes = flag.Bool("stat-trade-zones-whale-on", false, "Remove trade routes incompatible with zoner whale")

	StatDefaultTheme = flag.String("stat-default-theme", "vanilla", "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")
	DisableDiscoPriceOverrides  = flag.Bool("stat-disable-disco-price-overrides", false, "flag to off disco price overrides")

	// TODO some day to delete as DEPRECATED
	DeprecatedIsMapRunWithDarkstatEnabled = flag.Bool("experimental-map-on", false, "DEPRECATED. use --map-on flag instead")
)

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