Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IndexEntry ¶
type IndexEntry struct { URL string `json:"url"` Offset int `json:"offset"` Status string `json:"status"` Length int `json:"length"` Mime string `json:"mime"` Filename string `json:"filename"` Digest string `json:"digest"` RecordDigest string `json:"recordDigest"` // contains filtered or unexported fields }
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
func (*Reader) ReadArchive ¶
ReadArchive reads the archive and returns the contents of the warc record for the specified URL as a string.
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
func NewArchiver ¶
Returns a new Writer. It creates a new wacz file for the given url string.
Click to show internal directories.
Click to hide internal directories.