Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTaskUpdateSources ¶
Types ¶
type TaskUpdateSources ¶
type TaskUpdateSources struct {
// contains filtered or unexported fields
}
func (*TaskUpdateSources) Do ¶
func (t *TaskUpdateSources) Do(updates chan tasks.Progress)
Do performs the task
func (*TaskUpdateSources) SetDatastore ¶
func (t *TaskUpdateSources) SetDatastore(store datastore.Datastore)
TaskUpdateSources task needs to talk to an underlying database it's expected that the task executor will call this method before calling Do
func (*TaskUpdateSources) Valid ¶
func (t *TaskUpdateSources) Valid() error
type Zim ¶
type Zim struct {
// Name of the project that's been archived
Project string
// ISO Language code
Language string
// Size String (eg: "11M" or "5.4G")
Size string
// Created Date in form YYYY-MM
Created string
// Weather it's all content or not
FullContent bool
// url to get MD5 entry
Md5Url string
// md5 checksum for download
Md5 string
// download url
Url string
}
Zim represents a Zim package on the Kiwix service
Click to show internal directories.
Click to hide internal directories.