computers

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2019 License: Apache-2.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Computer

type Computer struct {
	DB       *gorm.DB
	Config   *configs.Config
	Project  models.Project
	Datasets []models.Dataset
	Tables   []models.Table
	Logger   *log.Logger
}

Computer represents a computer instance

func (*Computer) Compute

func (c *Computer) Compute()

Compute calculate data based on scraped data

type DatasetComputer

type DatasetComputer struct {
	DB      *gorm.DB
	Config  *configs.Config
	Dataset models.Dataset
	Logger  *log.Logger
}

DatasetComputer represents a dataset computer instance

type PartitionComputer

type PartitionComputer struct {
	DB     *gorm.DB
	Config *configs.Config
	Table  models.Table
	Logger *log.Logger
}

PartitionComputer represents a partition computer instance

type ProjectComputer

type ProjectComputer struct {
	DB      *gorm.DB
	Config  *configs.Config
	Project models.Project
	Logger  *log.Logger
}

ProjectComputer represents a project computer instance

type TableComputer

type TableComputer struct {
	DB     *gorm.DB
	Config *configs.Config
	Table  models.Table
	Logger *log.Logger
}

TableComputer represents a table computer instance

Jump to

Keyboard shortcuts

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