Documentation
¶
Index ¶
- type EvaluationHTTPMapperImpl
- type InfoHTTPMapperImpl
- type RegionHTTPMapperImpl
- type SensorHTTPMapperImpl
- func (c *SensorHTTPMapperImpl) FromDataResponse(source *entities.SensorData) *entities1.SensorDataResponse
- func (c *SensorHTTPMapperImpl) FromResponse(source *entities.Sensor) *entities1.SensorResponse
- func (c *SensorHTTPMapperImpl) FromWatermarkResponse(source *entities.Watermark) *entities1.WatermarkResponse
- type TreeClusterHTTPMapperImpl
- func (c *TreeClusterHTTPMapperImpl) FromCreateRequest(source *entities1.TreeClusterCreateRequest) *entities.TreeClusterCreate
- func (c *TreeClusterHTTPMapperImpl) FromInListResponse(source *entities.TreeCluster) *entities1.TreeClusterInListResponse
- func (c *TreeClusterHTTPMapperImpl) FromResponse(source *entities.TreeCluster) *entities1.TreeClusterResponse
- func (c *TreeClusterHTTPMapperImpl) FromResponseList(source []*entities.TreeCluster) []*entities1.TreeClusterInListResponse
- func (c *TreeClusterHTTPMapperImpl) FromUpdateRequest(source *entities1.TreeClusterUpdateRequest) *entities.TreeClusterUpdate
- type TreeHTTPMapperImpl
- func (c *TreeHTTPMapperImpl) FromCreateRequest(source *entities1.TreeCreateRequest) *entities.TreeCreate
- func (c *TreeHTTPMapperImpl) FromResponse(source *entities.Tree) *entities1.TreeResponse
- func (c *TreeHTTPMapperImpl) FromResponseList(source []*entities.Tree) []*entities1.TreeResponse
- func (c *TreeHTTPMapperImpl) FromUpdateRequest(source *entities1.TreeUpdateRequest) *entities.TreeUpdate
- type UserHTTPMapperImpl
- type VehicleHTTPMapperImpl
- func (c *VehicleHTTPMapperImpl) FromCreateRequest(source *entities1.VehicleCreateRequest) *entities.VehicleCreate
- func (c *VehicleHTTPMapperImpl) FromResponse(source *entities.Vehicle) *entities1.VehicleResponse
- func (c *VehicleHTTPMapperImpl) FromResponseList(source []*entities.Vehicle) []*entities1.VehicleResponse
- func (c *VehicleHTTPMapperImpl) FromUpdateRequest(source *entities1.VehicleUpdateRequest) *entities.VehicleUpdate
- type WateringPlanHTTPMapperImpl
- func (c *WateringPlanHTTPMapperImpl) FromCreateRequest(source *entities1.WateringPlanCreateRequest) *entities.WateringPlanCreate
- func (c *WateringPlanHTTPMapperImpl) FromInListResponse(source *entities.WateringPlan) *entities1.WateringPlanInListResponse
- func (c *WateringPlanHTTPMapperImpl) FromResponse(source *entities.WateringPlan) *entities1.WateringPlanResponse
- func (c *WateringPlanHTTPMapperImpl) FromResponseList(source []*entities.WateringPlan) []*entities1.WateringPlanResponse
- func (c *WateringPlanHTTPMapperImpl) FromTreeClusterInListResponse(source *entities.TreeCluster) *entities1.TreeClusterInListResponse
- func (c *WateringPlanHTTPMapperImpl) FromUpdateRequest(source *entities1.WateringPlanUpdateRequest) *entities.WateringPlanUpdate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EvaluationHTTPMapperImpl ¶
type EvaluationHTTPMapperImpl struct{}
func (*EvaluationHTTPMapperImpl) FromResponse ¶
func (c *EvaluationHTTPMapperImpl) FromResponse(source *entities.Evaluation) *entities1.EvaluationResponse
type InfoHTTPMapperImpl ¶
type InfoHTTPMapperImpl struct{}
func (*InfoHTTPMapperImpl) FromResponse ¶
func (c *InfoHTTPMapperImpl) FromResponse(source *entities1.AppInfoResponse) *entities.App
func (*InfoHTTPMapperImpl) ToResponse ¶
func (c *InfoHTTPMapperImpl) ToResponse(source *entities.App) *entities1.AppInfoResponse
type RegionHTTPMapperImpl ¶
type RegionHTTPMapperImpl struct{}
func (*RegionHTTPMapperImpl) FromResponse ¶
func (c *RegionHTTPMapperImpl) FromResponse(source *entities.Region) *entities1.RegionResponse
type SensorHTTPMapperImpl ¶
type SensorHTTPMapperImpl struct{}
func (*SensorHTTPMapperImpl) FromDataResponse ¶
func (c *SensorHTTPMapperImpl) FromDataResponse(source *entities.SensorData) *entities1.SensorDataResponse
func (*SensorHTTPMapperImpl) FromResponse ¶
func (c *SensorHTTPMapperImpl) FromResponse(source *entities.Sensor) *entities1.SensorResponse
func (*SensorHTTPMapperImpl) FromWatermarkResponse ¶
func (c *SensorHTTPMapperImpl) FromWatermarkResponse(source *entities.Watermark) *entities1.WatermarkResponse
type TreeClusterHTTPMapperImpl ¶
type TreeClusterHTTPMapperImpl struct{}
func (*TreeClusterHTTPMapperImpl) FromCreateRequest ¶
func (c *TreeClusterHTTPMapperImpl) FromCreateRequest(source *entities1.TreeClusterCreateRequest) *entities.TreeClusterCreate
func (*TreeClusterHTTPMapperImpl) FromInListResponse ¶
func (c *TreeClusterHTTPMapperImpl) FromInListResponse(source *entities.TreeCluster) *entities1.TreeClusterInListResponse
func (*TreeClusterHTTPMapperImpl) FromResponse ¶
func (c *TreeClusterHTTPMapperImpl) FromResponse(source *entities.TreeCluster) *entities1.TreeClusterResponse
func (*TreeClusterHTTPMapperImpl) FromResponseList ¶
func (c *TreeClusterHTTPMapperImpl) FromResponseList(source []*entities.TreeCluster) []*entities1.TreeClusterInListResponse
func (*TreeClusterHTTPMapperImpl) FromUpdateRequest ¶
func (c *TreeClusterHTTPMapperImpl) FromUpdateRequest(source *entities1.TreeClusterUpdateRequest) *entities.TreeClusterUpdate
type TreeHTTPMapperImpl ¶
type TreeHTTPMapperImpl struct{}
func (*TreeHTTPMapperImpl) FromCreateRequest ¶
func (c *TreeHTTPMapperImpl) FromCreateRequest(source *entities1.TreeCreateRequest) *entities.TreeCreate
func (*TreeHTTPMapperImpl) FromResponse ¶
func (c *TreeHTTPMapperImpl) FromResponse(source *entities.Tree) *entities1.TreeResponse
func (*TreeHTTPMapperImpl) FromResponseList ¶
func (c *TreeHTTPMapperImpl) FromResponseList(source []*entities.Tree) []*entities1.TreeResponse
func (*TreeHTTPMapperImpl) FromUpdateRequest ¶
func (c *TreeHTTPMapperImpl) FromUpdateRequest(source *entities1.TreeUpdateRequest) *entities.TreeUpdate
type UserHTTPMapperImpl ¶
type UserHTTPMapperImpl struct{}
func (*UserHTTPMapperImpl) FromResponse ¶
func (c *UserHTTPMapperImpl) FromResponse(source *entities.User) *entities1.UserResponse
func (*UserHTTPMapperImpl) FromResponseList ¶
func (c *UserHTTPMapperImpl) FromResponseList(source []*entities.User) []*entities1.UserResponse
type VehicleHTTPMapperImpl ¶
type VehicleHTTPMapperImpl struct{}
func (*VehicleHTTPMapperImpl) FromCreateRequest ¶
func (c *VehicleHTTPMapperImpl) FromCreateRequest(source *entities1.VehicleCreateRequest) *entities.VehicleCreate
func (*VehicleHTTPMapperImpl) FromResponse ¶
func (c *VehicleHTTPMapperImpl) FromResponse(source *entities.Vehicle) *entities1.VehicleResponse
func (*VehicleHTTPMapperImpl) FromResponseList ¶
func (c *VehicleHTTPMapperImpl) FromResponseList(source []*entities.Vehicle) []*entities1.VehicleResponse
func (*VehicleHTTPMapperImpl) FromUpdateRequest ¶
func (c *VehicleHTTPMapperImpl) FromUpdateRequest(source *entities1.VehicleUpdateRequest) *entities.VehicleUpdate
type WateringPlanHTTPMapperImpl ¶
type WateringPlanHTTPMapperImpl struct{}
func (*WateringPlanHTTPMapperImpl) FromCreateRequest ¶
func (c *WateringPlanHTTPMapperImpl) FromCreateRequest(source *entities1.WateringPlanCreateRequest) *entities.WateringPlanCreate
func (*WateringPlanHTTPMapperImpl) FromInListResponse ¶
func (c *WateringPlanHTTPMapperImpl) FromInListResponse(source *entities.WateringPlan) *entities1.WateringPlanInListResponse
func (*WateringPlanHTTPMapperImpl) FromResponse ¶
func (c *WateringPlanHTTPMapperImpl) FromResponse(source *entities.WateringPlan) *entities1.WateringPlanResponse
func (*WateringPlanHTTPMapperImpl) FromResponseList ¶
func (c *WateringPlanHTTPMapperImpl) FromResponseList(source []*entities.WateringPlan) []*entities1.WateringPlanResponse
func (*WateringPlanHTTPMapperImpl) FromTreeClusterInListResponse ¶
func (c *WateringPlanHTTPMapperImpl) FromTreeClusterInListResponse(source *entities.TreeCluster) *entities1.TreeClusterInListResponse
func (*WateringPlanHTTPMapperImpl) FromUpdateRequest ¶
func (c *WateringPlanHTTPMapperImpl) FromUpdateRequest(source *entities1.WateringPlanUpdateRequest) *entities.WateringPlanUpdate
Click to show internal directories.
Click to hide internal directories.