Documentation ¶
Index ¶
- Constants
- func NewBeach(entityID string, name string, decorators ...entities.EntityDecoratorFunc) (types.Entity, error)
- func NewDevice(entityID string, decorators ...entities.EntityDecoratorFunc) (types.Entity, error)
- func NewIndoorEnvironmentObserved(id, dateObserved string, latitude, longitude float64, ...) (types.Entity, error)
- func NewWaterConsumptionObserved(entityID string, decorators ...entities.EntityDecoratorFunc) (types.Entity, error)
- func NewWeatherObserved(observationID string, latitude float64, longitude float64, observedAt string, ...) (types.Entity, error)
Constants ¶
View Source
const ( //AirQualityObservedTypeName is a type name constant for AirQualityObserved AirQualityObservedTypeName string = "AirQualityObserved" //AirQualityObservedIDPrefix contains the mandatory prefix for AirQualityObserved ID:s AirQualityObservedIDPrefix string = urnPrefix + AirQualityObservedTypeName + ":" //BeachTypeName is a type name constant for Beach BeachTypeName string = "Beach" //BeachIDPrefix contains the mandatory prefix for Beach ID:s BeachIDPrefix string = urnPrefix + BeachTypeName + ":" //CityWorkTypeName is a type name constant for CityWork CityWorkTypeName string = "CityWork" //CityWorkIDPrefix contains the mandatory prefix for CityWork ID:s CityWorkIDPrefix string = urnPrefix + CityWorkTypeName + ":" //DeviceTypeName is a type name constant for Device DeviceTypeName string = "Device" //DeviceIDPrefix contains the mandatory prefix for Device ID:s DeviceIDPrefix string = urnPrefix + DeviceTypeName + ":" //DeviceModelTypeName is a type name constant for DeviceModel DeviceModelTypeName string = "DeviceModel" //DeviceModelIDPrefix contains the mandatory prefix for DeviceModel ID:s DeviceModelIDPrefix string = urnPrefix + DeviceModelTypeName + ":" //GreenspaceRecordTypeName is a type name constant for GreenspaceRecord GreenspaceRecordTypeName string = "GreenspaceRecord" //GreenspaceRecordIDPrefix ... GreenspaceRecordIDPrefix string = urnPrefix + GreenspaceRecordTypeName + ":" //IndoorEnvironmentObservedTypeName is a type name constant for IndoorEnvironmentObserved IndoorEnvironmentObservedTypeName string = "IndoorEnvironmentObserved" //IndoorEnvironmentObservedIDPrefix contains the mandatory prefix for IndoorEnvironmentObserved ID:s IndoorEnvironmentObservedIDPrefix string = urnPrefix + IndoorEnvironmentObservedTypeName + ":" //Open311ServiceRequestTypeName is a type name constant for Open311ServiceRequest Open311ServiceRequestTypeName string = "Open311ServiceRequest" //Open311ServiceRequestIDPrefix ... Open311ServiceRequestIDPrefix string = urnPrefix + Open311ServiceRequestTypeName + ":" //Open311ServiceTypeTypeName is a type name constant for Open311ServiceType Open311ServiceTypeTypeName string = "Open311ServiceType" //Open311ServiceTypeIDPrefix ... Open311ServiceTypeIDPrefix string = urnPrefix + Open311ServiceTypeTypeName + ":" //PointOfInterestTypeName is a type name constant for PointOfInterest PointOfInterestTypeName string = "PointOfInterest" //PointOfInterestIDPrefix contains the mandatory prefix for PointOfInterest ID:s PointOfInterestIDPrefix string = urnPrefix + PointOfInterestTypeName + ":" //RoadTypeName is a type name constant for Road RoadTypeName string = "Road" //RoadIDPrefix ... RoadIDPrefix string = urnPrefix + RoadTypeName + ":" //RoadAccident is a type name constant for RoadAccident RoadAccidentTypeName string = "RoadAccident" //RoadAccidentIDPrefix... RoadAccidentIDPrefix string = urnPrefix + RoadAccidentTypeName + ":" //RoadSegmentTypeName is a type name constant for RoadSegment RoadSegmentTypeName string = "RoadSegment" //RoadSegmentIDPrefix ... RoadSegmentIDPrefix string = urnPrefix + RoadSegmentTypeName + ":" //TrafficFlowObservedTypeName is a type name constant for TrafficFlowObserved TrafficFlowObservedTypeName string = "TrafficFlowObserved" //TrafficFlowObserved ... TrafficFlowObservedIDPrefix string = urnPrefix + TrafficFlowObservedTypeName + ":" //WaterConsumptionObservedTypeName is a type name constant for WaterConsumptionObserved WaterConsumptionObservedTypeName string = "WaterConsumptionObserved" //WaterConsumptionObservedIDPrefix ... WaterConsumptionObservedIDPrefix string = urnPrefix + WaterConsumptionObservedTypeName + ":" //WaterQualityObservedTypeName is a type name constant for WaterQualityObserved WaterQualityObservedTypeName string = "WaterQualityObserved" //WaterQualityObservedIDPrefix ... WaterQualityObservedIDPrefix string = urnPrefix + WaterQualityObservedTypeName + ":" //WeatherObservedTypeName is a type name constant for WeatherObserved WeatherObservedTypeName string = "WeatherObserved" //WeatherObservedIDPrefix ... WeatherObservedIDPrefix string = urnPrefix + WeatherObservedTypeName + ":" )
Variables ¶
This section is empty.
Functions ¶
func NewBeach ¶
func NewBeach(entityID string, name string, decorators ...entities.EntityDecoratorFunc) (types.Entity, error)
NewBeach creates a new instance of Beach
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.