dataset

package
v0.0.0-...-9090e5b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DATASETS_PATH = "./output/datasets"
View Source
var ROOTCAS_PATH = "./output/rootCAs"

Functions

func DownloadAllDatasets

func DownloadAllDatasets() error

func GetRootCerts

func GetRootCerts() error

Types

type DataSource

type DataSource struct {
	Name    string
	Enabled bool
	Files   []struct {
		Name string
		Size int64
	}
}

func GatherDataSources

func GatherDataSources() ([]DataSource, error)

func (*DataSource) Disable

func (source *DataSource) Disable()

func (*DataSource) Enable

func (source *DataSource) Enable()

type Datasets

type Datasets []struct {
	Name  string `json:"name"`
	Files []struct {
		URL  string `json:"url"`
		File string `json:"file"`
	} `json:"files"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL