shared

package
v1.8.1-0...-ed8303a Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigFileFlag = &cli.StringFlag{
	Name:    "config-file",
	Aliases: []string{"c"},
	Usage:   "path to the config file (yaml)",
	Value:   "./error-pages.yml",
	EnvVars: []string{env.ConfigFilePath.String()},
}
View Source
var ListenAddrFlag = &cli.StringFlag{
	Name:    "listen",
	Aliases: []string{"l"},
	Usage:   "IP (v4 or v6) address to Listen on",
	Value:   "0.0.0.0",
	EnvVars: []string{env.ListenAddr.String()},
}
View Source
var ListenPortFlag = &cli.UintFlag{
	Name:    "port",
	Aliases: []string{"p"},
	Usage:   "TCP port number",
	Value:   8080,
	EnvVars: []string{env.ListenPort.String()},
}

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