Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ArchiveDownload ¶
type ArchiveDownload struct {
Href string `json:"href"`
}
type ArchiveInfo ¶
type ArchiveInfo struct { Links *ArchiveLinks `json:"_links"` DurationFormatted string `json:"duration_formatted"` End time.Time `json:"end"` Filename string `json:"filename"` Filesize string `json:"filesize"` Start time.Time `json:"start"` StartFormatted string `json:"start_formatted"` // contains filtered or unexported fields }
func (*ArchiveInfo) Size ¶
func (ai *ArchiveInfo) Size() (int, error)
type ArchiveInfoMatchesFn ¶
type ArchiveInfoMatchesFn func(*ArchiveInfo) bool
func ArchivesOverlap ¶
func ArchivesOverlap(start, end time.Time) ArchiveInfoMatchesFn
type ArchiveInfos ¶
type ArchiveInfos []*ArchiveInfo
func (ArchiveInfos) Len ¶
func (a ArchiveInfos) Len() int
func (ArchiveInfos) Matches ¶
func (a ArchiveInfos) Matches(fn ArchiveInfoMatchesFn) ArchiveInfos
func (ArchiveInfos) Size ¶
func (a ArchiveInfos) Size() (int, error)
type ArchiveLinks ¶
type ArchiveLinks struct {
Download ArchiveDownload `json:"download"`
}
Click to show internal directories.
Click to hide internal directories.