filter

package
v0.0.0-...-c5d597e Latest Latest
Warning

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

Go to latest
Published: May 9, 2020 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filter

type Filter struct {
	ID    uint64 `json:"id"`
	Type  string `json:"type"`
	Value string `json:"value"`
}

type FilterJob

type FilterJob struct {
	JobID      uint64 `db:"job_id"`
	FilterID   uint64 `db:"filter_id"`
	Comparison string `db:"comparison"`
}

type FilterWorker

type FilterWorker struct {
	WorkerID uint64 `db:"worker_id" json:"worker_id"`
	FilterID uint64 `db:"filter_id" json:"filter_id"`
}

type Filters

type Filters []Filter

func (*Filters) GroupByType

func (fs *Filters) GroupByType() GroupedFilters

type GroupedFilters

type GroupedFilters map[string]Filters

Jump to

Keyboard shortcuts

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