Skip to content
Snippets Groups Projects
parameters.go 353 B
Newer Older
package httpserver

import (
	flag "github.com/spf13/pflag"
)

const (
	CfgBindAddress = "analysis.httpServer.bindAddress"
	CfgDev         = "analysis.httpServer.dev"
	flag.String(CfgBindAddress, "0.0.0.0:80", "the bind address for the web API")
	flag.Bool(CfgDev, false, "whether the analysis server visualizer is running dev mode")