cmd

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2024 License: MIT Imports: 13 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 {
	Threads        int                 // Threads 设置线程数量
	Silent         bool                // Silent 只展示结果
	Debug          bool                // Debug 显示详细的输出信息
	Version        bool                // Version 返回工具版本
	ExcludePrivate bool                // ExcludePrivate 从结果中排除私有 IP
	Config         string              // Config 指定配置文件路径
	Output         string              // Output 将结果写入到文件中
	Provider       goflags.StringSlice // Provider 指定要列出的云服务商
	Id             goflags.StringSlice // Id 指定要列出的对象
	CloudServices  goflags.StringSlice // CloudServices 指定要列出的服务
}

func ParseOptions

func ParseOptions() *Options

type Runner

type Runner struct {
	// contains filtered or unexported fields
}

func New

func New(options *Options) (*Runner, error)

func (*Runner) Enumerate

func (r *Runner) Enumerate()

Jump to

Keyboard shortcuts

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