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

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

const (
	// CfgBindAddress defines the config flag of the analysis http server binding address.
	CfgBindAddress = "analysis.httpServer.bindAddress"
	// CfgDev defines the config flag of the analysis http server dev mode.
	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")