Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AreaQuery ¶
type AreaQuery interface {
FindByID(areaUID uuid.UUID) <-chan QueryResult
}
type CropQuery ¶
type CropQuery interface {
FindCropByID(cropUID uuid.UUID) <-chan QueryResult
}
type EventWrapper ¶
type EventWrapper struct { EventName string EventData interface{} }
EventWrapper is used to wrap the event interface with its struct name, so it will be easier to unmarshal later
type MaterialQuery ¶
type MaterialQuery interface {
FindMaterialByID(materialID uuid.UUID) <-chan QueryResult
}
type QueryResult ¶
type QueryResult struct { Result interface{} Error error }
type ReservoirQuery ¶
type ReservoirQuery interface {
FindReservoirByID(reservoirUID uuid.UUID) <-chan QueryResult
}
type TaskAreaQueryResult ¶
type TaskCropQueryResult ¶
type TaskEventQuery ¶
type TaskEventQuery interface {
FindAllByTaskID(uid uuid.UUID) <-chan QueryResult
}
type TaskMaterialQueryResult ¶
type TaskReadQuery ¶
type TaskReadQuery interface { FindAll(page, limit int) <-chan QueryResult FindByID(taskUID uuid.UUID) <-chan QueryResult FindTasksWithFilter(params map[string]string, page, limit int) <-chan QueryResult CountAll() <-chan QueryResult CountTasksWithFilter(params map[string]string) <-chan QueryResult }
Click to show internal directories.
Click to hide internal directories.