Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CSVOptions ¶
type Item ¶
type Item struct {
Time string `xml:"time" json:"time,omitempty"`
URL string `xml:"url" json:"url,omitempty"`
Host Host `xml:"host" json:"host,omitzero"`
Port string `xml:"port" json:"port,omitempty"`
Protocol string `xml:"protocol" json:"protocol,omitempty"`
Path string `xml:"path" json:"path,omitempty"`
Extension string `xml:"extension" json:"extension,omitempty"`
Request Request `xml:"request" json:"request,omitzero"`
Status string `xml:"status" json:"status,omitempty"`
ResponseLength string `xml:"responselength" json:"response_length,omitempty"`
MimeType string `xml:"mimetype" json:"mime_type,omitempty"`
Response Response `xml:"response" json:"response,omitzero"`
Comment string `xml:"comment" json:"comment,omitempty"`
}
func (Item) FlatString ¶
type Request ¶
type Request struct {
Base64Encoded string `xml:"base64,attr" json:"base64_encoded,omitempty"`
Raw string `xml:",chardata" json:"raw,omitempty"`
Body string `xml:"-" json:"body,omitempty"`
}
func (Request) FlatString ¶
type Response ¶
type Response struct {
Base64Encoded string `xml:"base64,attr" json:"base64_encoded,omitempty"`
Raw string `xml:",chardata" json:"raw,omitempty"`
Body string `xml:"-" json:"body,omitempty"`
}
func (Response) FlatString ¶
type XMLParseOptions ¶
type XMLParseOptions struct {
DecodeBase64 bool
}
Click to show internal directories.
Click to hide internal directories.