Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ByteWriter ¶
type Measure ¶
func NewMeasure ¶
func NewMeasure() *Measure
type Snapshot ¶
type Snapshot struct { Data_url string Alias_url string Human_url string Name string River_name string Lat float32 Lg float32 Unit string Type TypeValues Readings []*Measure Correlation_id string Causation_id string Processed_time int64 }
func NewSnapshot ¶
func NewSnapshot() *Snapshot
type StringWriter ¶
type TypeValues ¶
type TypeValues int32
const ( Level TypeValues = 0 Flow TypeValues = 1 Temperature TypeValues = 2 Rainfall TypeValues = 3 )
func (TypeValues) String ¶
func (e TypeValues) String() string
type UnionMeasureSnapshot ¶
type UnionMeasureSnapshot struct { Measure *Measure Snapshot *Snapshot UnionType UnionMeasureSnapshotTypeEnum }
type UnionMeasureSnapshotTypeEnum ¶
type UnionMeasureSnapshotTypeEnum int
const ( UnionMeasureSnapshotTypeEnumMeasure UnionMeasureSnapshotTypeEnum = 0 UnionMeasureSnapshotTypeEnumSnapshot UnionMeasureSnapshotTypeEnum = 1 )
Click to show internal directories.
Click to hide internal directories.