inmemory

package
v0.0.0-...-87346ed Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAreaQueryInMemory

func NewAreaQueryInMemory(s *storage.AreaReadStorage) query.AreaQuery

NewAreaQueryInMemory is used

func NewCropQueryInMemory

func NewCropQueryInMemory(s *storage.CropReadStorage) query.CropQuery

NewCropQueryInMemory is used ...

func NewDeviceEventQueryInMemory

func NewDeviceEventQueryInMemory(s *storage.DeviceEventStorage) query.DeviceEventQuery

NewDeviceEventQueryInMemory is used ...

func NewDeviceReadQueryInMemory

func NewDeviceReadQueryInMemory(s *storage.DeviceReadStorage) query.DeviceReadQuery

NewDeviceReadQueryInMemory is used ...

func NewMaterialQueryInMemory

func NewMaterialQueryInMemory(s *assetsstorage.MaterialReadStorage) query.MaterialQuery

NewMaterialQueryInMemory is used ...

Types

type AreaQueryInMemory

type AreaQueryInMemory struct {
	Storage *storage.AreaReadStorage
}

AreaQueryInMemory is used ...

func (AreaQueryInMemory) FindByID

func (s AreaQueryInMemory) FindByID(uid uuid.UUID) <-chan query.Result

FindByID is used ...

type CropQueryInMemory

type CropQueryInMemory struct {
	Storage *storage.CropReadStorage
}

CropQueryInMemory is used ...

func (CropQueryInMemory) FindCropByID

func (s CropQueryInMemory) FindCropByID(uid uuid.UUID) <-chan query.Result

FindCropByID is used ...

type DeviceEventQueryInMemory

type DeviceEventQueryInMemory struct {
	Storage *storage.DeviceEventStorage
}

DeviceEventQueryInMemory is used ...

func (*DeviceEventQueryInMemory) FindAllByDeviceID

func (f *DeviceEventQueryInMemory) FindAllByDeviceID(uid uuid.UUID) <-chan query.Result

FindAllByDeviceID is used ...

type DeviceReadQueryInMemory

type DeviceReadQueryInMemory struct {
	Storage *storage.DeviceReadStorage
}

DeviceReadQueryInMemory is used ...

func (DeviceReadQueryInMemory) CountAll

func (r DeviceReadQueryInMemory) CountAll() <-chan query.Result

CountAll is used

func (DeviceReadQueryInMemory) CountDevicesWithFilter

func (r DeviceReadQueryInMemory) CountDevicesWithFilter(params map[string]string) <-chan query.Result

CountDevicesWithFilter is used ...

func (DeviceReadQueryInMemory) FindAll

func (r DeviceReadQueryInMemory) FindAll(page, limit int) <-chan query.Result

FindAll is used ...

func (DeviceReadQueryInMemory) FindByID

func (r DeviceReadQueryInMemory) FindByID(uid uuid.UUID) <-chan query.Result

FindByID is to find by ID

func (DeviceReadQueryInMemory) FindDevicesWithFilter

func (r DeviceReadQueryInMemory) FindDevicesWithFilter(params map[string]string, page, limit int) <-chan query.Result

FindDevicesWithFilter is used ...

type MaterialQueryInMemory

type MaterialQueryInMemory struct {
	Storage *assetsstorage.MaterialReadStorage
}

MaterialQueryInMemory is used ...

func (MaterialQueryInMemory) FindMaterialByID

func (s MaterialQueryInMemory) FindMaterialByID(inventoryUID uuid.UUID) <-chan query.Result

FindMaterialByID is used ...

Jump to

Keyboard shortcuts

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