Documentation ¶
Index ¶
- type Entry
- type ModIndex
- type Registry
- func (r *Registry) AddToQueue(mod ckan.Ckan) error
- func (r *Registry) BuildQueueIndex()
- func (r *Registry) BuildSearchIndex(s string) (ModIndex, error)
- func (r *Registry) CheckDependencies(mod ckan.Ckan) (map[string]ckan.Ckan, error)
- func (r *Registry) DownloadMods() error
- func (r *Registry) GetEntireModList() map[string][]ckan.Ckan
- func (r *Registry) GetTempDir() string
- func (r *Registry) InstallMods() error
- func (r *Registry) RemoveMods() error
- func (r *Registry) SetModIndex(modMap ModIndex)
- func (r *Registry) SetTempDir(s string)
- func (r *Registry) SortModList() error
- type SortOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry struct { TotalModMap map[string][]ckan.Ckan CompatibleModMap map[string][]ckan.Ckan UnsortedModMap map[string]ckan.Ckan SortedModMap map[string]ckan.Ckan ModMapIndex ModIndex InstalledModList map[string]ckan.Ckan DB *database.CkanDB SortOptions SortOptions Queue queue.Queue // contains filtered or unexported fields }
func (*Registry) BuildQueueIndex ¶
func (r *Registry) BuildQueueIndex()
func (*Registry) CheckDependencies ¶
Gather list of mods and dependencies for download
func (*Registry) GetEntireModList ¶
Get list of Ckan objects from database
func (*Registry) GetTempDir ¶
func (*Registry) InstallMods ¶
Install mods in the registry install queue
func (*Registry) RemoveMods ¶
func (*Registry) SetModIndex ¶
func (*Registry) SetTempDir ¶
func (*Registry) SortModList ¶
type SortOptions ¶
Click to show internal directories.
Click to hide internal directories.