computers

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

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