options

package
v1.8.14 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Band2Rate

func Band2Rate(bandWith string) int64

func GetResolvers

func GetResolvers(resolvers string) []string

func HasStdin

func HasStdin() bool

Types

type Options

type Options struct {
	Rate         int64
	Domain       []string
	FileName     string   // 字典文件名
	ExtraDict    []string // 额外字典
	Resolvers    []string
	Output       string // 输出文件名
	Silent       bool
	Stdin        bool
	SkipWildCard bool
	TimeOut      int
	Retry        int
	Method       string // verify模式 enum模式 test模式
	OnlyDomain   bool
	NotPrint     bool
	Level        int
	LevelDomains []string
	DnsType      int
}

func (*Options) Check

func (opt *Options) Check()

Jump to

Keyboard shortcuts

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