cmd

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ASNList

type ASNList []string

func (*ASNList) Set

func (l *ASNList) Set(c string) error

func (*ASNList) String

func (p *ASNList) String() string

type Config

type Config struct {
	Key    string
	Port   PortList
	ASN    ASNList
	Region RegionList

	Output   string
	Config   string
	Auto     bool
	Norepeat bool
	// contains filtered or unexported fields
}

func (*Config) Check

func (conf *Config) Check()

func (*Config) GetLogger

func (conf *Config) GetLogger() *log.Logger

func (*Config) GetQuery

func (conf *Config) GetQuery() string

type PortList

type PortList []string

func (*PortList) Set

func (l *PortList) Set(c string) error

func (*PortList) String

func (l *PortList) String() string

type RegionList

type RegionList []string

func (*RegionList) Set

func (l *RegionList) Set(c string) error

func (*RegionList) String

func (p *RegionList) String() string

Jump to

Keyboard shortcuts

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