Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatSupported ¶
Types ¶
type Log ¶
type Log struct {
XMLName xml.Name `json:"-" xml:"log"`
Msg string `json:"msg" xml:"msg"`
Time time.Time `json:"time" xml:"time"`
}
func (*Log) ToFormatBytes ¶
ToFormatBytes 将log转化为指定格式的字节流表示
type OutObj ¶
type OutObj struct {
Id uint `json:"-" xml:"-" gorm:"primarykey"`
XMLName xml.Name `json:"-" xml:"output"`
Keywords []string `json:"keywords" xml:"keywords>keyword"`
Payloads []string `json:"payloads" xml:"payloads>payload"`
Request *fuzzTypes.Req `json:"request" xml:"request"`
Response *fuzzTypes.Resp `json:"response" xml:"response"`
Msg string `json:"msg,omitempty" xml:"msg,omitempty"`
Time time.Time `json:"time,omitempty" xml:"time,omitempty"`
}
OutObj 用于输出的结构体
func (*OutObj) ToFormatBytes ¶
ToFormatBytes 将OutObj转化为特定表示格式的字节流
Click to show internal directories.
Click to hide internal directories.