Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Banner = fmt.Sprintf(` __ ____ ___ \ \/ / \/ / __ _ _ __ \ /| |\/| |/ _' | '_ \ / \| | | | (_| | |_) | /_/\_\_| |_|\__,_| .__/ |_| %s `, Version)
Banner 程序的banner
View Source
var Version = "dev"
Version 版本信息,由 release workflow 通过 ldflags 注入。
Functions ¶
Types ¶
type OutputHandler ¶
type OutputHandler struct {
// contains filtered or unexported fields
}
OutputHandler 输出处理器
func (*OutputHandler) Close ¶ added in v0.1.3
func (h *OutputHandler) Close()
Close flushes and closes output resources that need explicit cleanup.
func (*OutputHandler) HandleResult ¶
func (h *OutputHandler) HandleResult(result *types.ScanResult)
HandleResult 处理扫描结果
Click to show internal directories.
Click to hide internal directories.