flag

package
v1.1.1080 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Server           = "server"   // Server is the name of the server flag.
	LogLevel         = "loglevel" // LogLevel is the name of the log level flag.
	ServerShort      = "s"        // ServerShort is the short name of the server flag.
	LogLevelShort    = "l"        // LogLevelShort is the short name of the log level flag.
	Concurrency      = "parallel" // Concurrency is the name of the concurrency flag.
	ConcurrencyShort = "p"        // ConcurrencyShort is the short name of the concurrency flag.
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Set

type Set struct {
	Server         string   // Server - the NATS server URL setting
	LogLevel       string   // LogLevel - the Log level setting
	CorrelationKey string   // CorrelationKey - the correlation key setting.
	DebugTrace     bool     // DebugTrace - the debug trace enabled setting.
	Vars           []string // Vars - the workflow variables setting.
	Concurrency    int      // Concurrency - the number of concurrent threads processing each message type.
}

Set is a container for all of the flag messages used by zen-shar

var Value Set // Value contains the runtime values for flags

Jump to

Keyboard shortcuts

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