options

package
v0.0.0-...-fbd6457 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Ports         []int
	UdpPorts      []int
	Scripts       []Script
	ScriptTimeout int
	Singleflight  bool
	Listener      string
	Logger        *logrus.Logger
}

The options accepted by this CLI tool

type Script

type Script struct {
	Name string
	Args []string
}

func ParseScripts

func ParseScripts(scriptStrings []string) []Script

Jump to

Keyboard shortcuts

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