Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HeadFile ¶
type HeadFile struct {
XMLName xml.Name `xml:"file"`
Path string `xml:"path,attr"`
LinesRequested int `xml:"lines_requested,attr"`
BytesRequested int `xml:"bytes_requested,attr"`
LinesReturned int `xml:"lines_returned,attr"`
BytesReturned int `xml:"bytes_returned,attr"`
FileTotalLines int `xml:"file_total_lines,attr"`
FileTotalBytes int64 `xml:"file_total_bytes,attr"`
Truncated string `xml:"truncated,attr"`
Content string `xml:"content,omitempty"`
Language string `xml:"language,attr"`
MIME string `xml:"mime,attr"`
}
type HeadResult ¶
type HeadResult struct {
XMLName xml.Name `xml:"head"`
Path string `xml:"path,attr"`
Absolute string `xml:"absolute,attr"`
LinesRequested int `xml:"lines_requested,attr"`
BytesRequested int `xml:"bytes_requested,attr"`
LinesReturned int `xml:"lines_returned,attr"`
BytesReturned int `xml:"bytes_returned,attr"`
FileTotalLines int `xml:"file_total_lines,attr"`
FileTotalBytes int64 `xml:"file_total_bytes,attr"`
Truncated string `xml:"truncated,attr"`
Language string `xml:"language,attr"`
MIME string `xml:"mime,attr"`
Content string `xml:"content,omitempty"`
Files []HeadFile `xml:"file,omitempty"`
Timestamp int64 `xml:"timestamp,attr"`
Errors []HeadError `xml:"error,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.