information

package
v1.3.5-alpha0803 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AI_PLUGIN           = "AI工具"
	DROP_HTTP_PACKET    = "可能丢弃HTTP数据包"
	FORWARD_HTTP_PACKET = "可能修改HTTP数据包"
)

Functions

func GetLastRef added in v1.3.3

func GetLastRef(vs ssaapi.Values) *ssaapi.Value

func ParseCliParameter

func ParseCliParameter(prog *ssaapi.Program) ([]*CliParameter, []*UIInfo)

func ParseTags added in v1.3.3

func ParseTags(prog *ssaapi.Program) []string

Types

type CliParameter

type CliParameter struct {
	Name           string
	NameVerbose    string
	Required       bool
	Type           string
	MethodType     string
	Default        any
	Help           string
	Group          string
	MultipleSelect bool
	SelectOption   map[string]string
}

type RiskInfo

type RiskInfo struct {
	Level             string
	CVE               string
	Type, TypeVerbose string
	Description       string
	Solution          string
}

func ParseRiskInfo

func ParseRiskInfo(prog *ssaapi.Program) []*RiskInfo

type UIInfo added in v1.3.3

type UIInfo struct {
	Typ      string   // "show", "hide", "..."
	Effected []string // parameter names

	WhenExpression string // when expression
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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