Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComponentsToString ¶
Types ¶
type CSVOuter ¶
type CSVOuter struct {
OutputFile string
// contains filtered or unexported fields
}
CSVOuter CSV输出实现
type ConsoleOuter ¶
type ConsoleOuter struct {
OutputFile string
Silent bool
// contains filtered or unexported fields
}
ConsoleOuter 控制台输出实现
func NewConsoleOuter ¶
func NewConsoleOuter(outputFile string, silent bool) *ConsoleOuter
NewConsoleOuter 创建一个新的控制台输出器
func (*ConsoleOuter) Output ¶
func (o *ConsoleOuter) Output(results *types.ScanResult) error
Output 实现Outer接口
type JSONOuter ¶
type JSONOuter struct {
OutputFile string
// contains filtered or unexported fields
}
JSONOuter JSON输出实现
type Outer ¶
type Outer interface {
// Output 输出扫描结果
Output(results *types.ScanResult) error
}
Outer 定义结果输出接口
Click to show internal directories.
Click to hide internal directories.