Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TailFile ¶
type TailFile 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 TailResult ¶
type TailResult struct {
XMLName xml.Name `xml:"tail"`
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 []TailFile `xml:"file,omitempty"`
Timestamp int64 `xml:"timestamp,attr"`
Errors []TailError `xml:"error,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.