Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Verbose bool `short:"v" long:"verbose" description:"enable verbose output"`
ListenAddress string `required:"yes" short:"l" long:"listen-address" description:"listen address ip:port"`
TargetAddress string `required:"yes" short:"d" long:"destination-address" description:"destination address ip:port"`
StartupMessageMatch string `required:"yes" short:"m" long:"match-line" description:"regex for matching startup message line"`
Service struct {
Command []string `required:"yes" description:"the downstream service to start"`
} `positional-args:"yes" `
}
func (*Config) PrintUsage ¶
Click to show internal directories.
Click to hide internal directories.