options

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseCommandLine

func ParseCommandLine(opt *Option) []string

ParseCommandLine results options and targets

Types

type Option

type Option struct {
	Interval time.Duration
	Timeout  time.Duration

	Gateway      bool
	Trace        bool
	Ports        bool
	MorePortsStr []string
	MorePorts    []int

	Sort bool

	ShowVersion bool
}

Option represents options provided

Jump to

Keyboard shortcuts

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