Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CoreResources []core.Resource = []core.Resource{ { Name: "OpenStreetMaps India", Description: "An offline .osm file provides a snapshot of geographic data for a specific area, mainly including:\n1.Road Networks\n2.Points of Interest\n3.Water Features\n4.Building Footprints", AssociatedGuidePath: guides.Guide("Guides/DefaultResources/Core/osm.md"), UrlGetter: &core.UrlGetter{ Key: "india-osm", UpdatedURLURL: []string{}, DefaultURLs: []string{ "https://download.geofabrik.de/asia/india-latest.osm.pbf", }, }, FileName: "india-latest.osm.pbf", InitiateDownload: netcode.InitiateHTTPDownload, Info: core.ResourceInformation{}, Status: core.StatusIdle, Error: nil, ControlChannel: make(chan core.DownloadControl), }, { Name: "Wikipedia English", Description: "All text of all topics of the english Wikipedia.", AssociatedGuidePath: guides.Guide("Guides/DefaultResources/Core/wikipedia.md"), UrlGetter: &core.UrlGetter{ Key: "simple-wikipedia", UpdatedURLURL: []string{}, DefaultURLs: []string{ "https://dumps.wikimedia.org/enwiki/latest/enwiki-latest-pages-articles.xml.bz2", }, }, FileName: "enwiki-latest-pages-articles.xml.bz2", InitiateDownload: netcode.InitiateHTTPDownload, Info: core.ResourceInformation{}, Status: core.StatusIdle, Error: nil, ControlChannel: make(chan core.DownloadControl), }, SurvivalBooks[0], SurvivalBooks[1], SurvivalBooks[2], SurvivalBooks[3], { Name: "Sample 100MB", Description: "Sample 100MB file", Tier: 1, AssociatedGuidePath: guides.Guide("Guides/DefaultResources/what-is-a-default-resource.md"), UrlGetter: &core.UrlGetter{ Key: "sample-100mb", UpdatedURLURL: []string{}, DefaultURLs: []string{ "http://speedtest.tele2.net/100MB.zip", }, }, FileName: "100MB.zip", InitiateDownload: netcode.InitiateHTTPDownload, Info: core.ResourceInformation{}, Status: core.StatusIdle, Error: nil, ControlChannel: make(chan core.DownloadControl), }, }
View Source
var ( SurvivalBooks = []core.Resource{ { Name: "The Ultimate Survival Guide (txt)", Description: "Whether you’re lost in the woods, facing an armed insurrection, or preparing for a hurricane, the experts at Outdoor Life magazine are the people you want on your side. This book is the one you need if you want to protect your family, save yourself, and prevail over any danger.", Tier: 0, UrlGetter: &core.UrlGetter{ Key: "tusg-txt", UpdatedURLURL: []string{}, DefaultURLs: []string{ "https://archive.org/stream/the-ultimate-bushcraft-survival-manual/The%20Ultimate%20Bushcraft%20Survival%20Manual_djvu.txt", }, }, FileName: "The_Ultimate_Survial_Guide.txt", InitiateDownload: netcode.InitiateHTTPDownload, Info: core.ResourceInformation{}, Status: core.StatusIdle, Error: nil, ControlChannel: make(chan core.DownloadControl), }, { Name: "The Ultimate Survival Guide (pdf)", Description: "Whether you’re lost in the woods, facing an armed insurrection, or preparing for a hurricane, the experts at Outdoor Life magazine are the people you want on your side. This book is the one you need if you want to protect your family, save yourself, and prevail over any danger.", Tier: 0, UrlGetter: &core.UrlGetter{ Key: "tusg-pdf", UpdatedURLURL: []string{}, DefaultURLs: []string{ "https://ia803405.us.archive.org/16/items/the-ultimate-bushcraft-survival-manual/The%20Ultimate%20Bushcraft%20Survival%20Manual.pdf", }, }, FileName: "The_Ultimate_Survial_Guide.pdf", InitiateDownload: netcode.InitiateHTTPDownload, Info: core.ResourceInformation{}, Status: core.StatusIdle, Error: nil, ControlChannel: make(chan core.DownloadControl), }, { Name: "The Survival Medicine Handbook (pdf)", Description: "The Survival Medicine Handbook is written in plain English that anyone can understand. But it’s unique in that it assumes that a disaster, natural or man-made, has removed all access to hospitals or doctors for the foreseeable future; you, the average person, are now the highest medical resource left to your family.", Tier: 0, UrlGetter: &core.UrlGetter{ Key: "tsmh-pdf", UpdatedURLURL: []string{}, DefaultURLs: []string{ "https://ia800400.us.archive.org/35/items/the-survival-medicine-handbook/The%20Survival%20Medicine%20Handbook.pdf", }, }, FileName: "The_Survial_Medicine_Handbook.pdf", InitiateDownload: netcode.InitiateHTTPDownload, Info: core.ResourceInformation{}, Status: core.StatusIdle, Error: nil, ControlChannel: make(chan core.DownloadControl), }, { Name: "The Survival Medicine Handbook (txt)", Description: "The Survival Medicine Handbook is written in plain English that anyone can understand. But it’s unique in that it assumes that a disaster, natural or man-made, has removed all access to hospitals or doctors for the foreseeable future; you, the average person, are now the highest medical resource left to your family.", Tier: 0, UrlGetter: &core.UrlGetter{ Key: "tsmh-txt", UpdatedURLURL: []string{}, DefaultURLs: []string{ "https://archive.org/stream/the-survival-medicine-handbook/The%20Survival%20Medicine%20Handbook_djvu.txt", }, }, FileName: "The_Survial_Medicine_Handbook.txt", InitiateDownload: netcode.InitiateHTTPDownload, Info: core.ResourceInformation{}, Status: core.StatusIdle, Error: nil, ControlChannel: make(chan core.DownloadControl), }, } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.