Documentation ¶
Index ¶
- func NewAreaQueryInMemory(s *storage.AreaReadStorage) query.AreaQuery
- func NewCropQueryInMemory(s *storage.CropReadStorage) query.CropQuery
- func NewDeviceEventQueryInMemory(s *storage.DeviceEventStorage) query.DeviceEventQuery
- func NewDeviceReadQueryInMemory(s *storage.DeviceReadStorage) query.DeviceReadQuery
- func NewMaterialQueryInMemory(s *assetsstorage.MaterialReadStorage) query.MaterialQuery
- type AreaQueryInMemory
- type CropQueryInMemory
- type DeviceEventQueryInMemory
- type DeviceReadQueryInMemory
- func (r DeviceReadQueryInMemory) CountAll() <-chan query.Result
- func (r DeviceReadQueryInMemory) CountDevicesWithFilter(params map[string]string) <-chan query.Result
- func (r DeviceReadQueryInMemory) FindAll(page, limit int) <-chan query.Result
- func (r DeviceReadQueryInMemory) FindByID(uid uuid.UUID) <-chan query.Result
- func (r DeviceReadQueryInMemory) FindDevicesWithFilter(params map[string]string, page, limit int) <-chan query.Result
- type MaterialQueryInMemory
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 ...
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 ...
Click to show internal directories.
Click to hide internal directories.