Documentation ¶
Index ¶
- type Area
- type AreaReadQuery
- type Container
- type CountTotalBatchQueryResult
- type CropActivityQuery
- type CropAreaByAreaQueryResult
- type CropAreaQueryResult
- type CropEventQuery
- type CropFarmQueryResult
- type CropInformationQueryResult
- type CropMaterialQueryResult
- type CropQuery
- type CropReadQuery
- type CropTaskQueryResult
- type FarmReadQuery
- type InitialArea
- type Inventory
- type MaterialReadQuery
- type QueryResult
- type TaskReadQuery
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AreaReadQuery ¶
type AreaReadQuery interface {
FindByID(areaUID uuid.UUID) <-chan QueryResult
}
type CropActivityQuery ¶
type CropActivityQuery interface { FindAllByCropID(uid uuid.UUID) <-chan QueryResult FindByCropIDAndActivityType(uid uuid.UUID, activityType interface{}) <-chan QueryResult }
type CropAreaQueryResult ¶
type CropEventQuery ¶
type CropEventQuery interface {
FindAllByCropID(uid uuid.UUID) <-chan QueryResult
}
type CropFarmQueryResult ¶
type CropMaterialQueryResult ¶
type CropQuery ¶
type CropQuery interface { FindByBatchID(batchID string) <-chan QueryResult FindAllCropsByFarm(farmUID uuid.UUID) <-chan QueryResult FindAllCropsByArea(areaUID uuid.UUID) <-chan QueryResult }
type CropReadQuery ¶
type CropReadQuery interface { FindByID(uid uuid.UUID) <-chan QueryResult FindByBatchID(batchID string) <-chan QueryResult FindAllCropsByFarm(farmUID uuid.UUID, status string, page, limit int) <-chan QueryResult CountAllCropsByFarm(farmUID uuid.UUID, status string) <-chan QueryResult FindAllCropsByArea(areaUID uuid.UUID) <-chan QueryResult FindAllCropsArchives(farmUID uuid.UUID, page, limit int) <-chan QueryResult CountAllArchivedCropsByFarm(farmUID uuid.UUID) <-chan QueryResult FindCropsInformation(farmUID uuid.UUID) <-chan QueryResult CountTotalBatch(farmUID uuid.UUID) <-chan QueryResult }
type CropTaskQueryResult ¶
type FarmReadQuery ¶
type FarmReadQuery interface {
FindByID(farmUID uuid.UUID) <-chan QueryResult
}
type InitialArea ¶
type MaterialReadQuery ¶
type MaterialReadQuery interface { FindByID(inventoryUID uuid.UUID) <-chan QueryResult FindMaterialByPlantTypeCodeAndName(plantType string, name string) <-chan QueryResult }
type QueryResult ¶
type QueryResult struct { Result interface{} Error error }
type TaskReadQuery ¶
type TaskReadQuery interface {
FindByID(taskUID uuid.UUID) <-chan QueryResult
}
Click to show internal directories.
Click to hide internal directories.