Versions in this module Expand all Collapse all v1 v1.0.1 Feb 5, 2019 v1.0.0 Oct 31, 2018 Changes in this version + func Encode(s SenML, format Format, options OutputOptions) ([]byte, error) + func IsValid(senml SenML) bool + type Format int + const CBOR + const CSV + const JSON + const JSONLINE + const LINEP + const MPACK + const XML + type OutputOptions struct + PrettyPrint bool + Topic string + type SenML struct + Records []SenMLRecord + XMLName *bool + Xmlns string + func Decode(msg []byte, format Format) (SenML, error) + func Normalize(senml SenML) SenML + type SenMLRecord struct + BaseName string + BaseTime float64 + BaseUnit string + BaseVersion int + BoolValue *bool + DataValue string + Link string + Name string + StringValue string + Sum *float64 + Time float64 + Unit string + UpdateTime float64 + Value *float64 + XMLName *bool Incompatible versions in this module v2.0.0-alpha.2+incompatible Apr 3, 2019 v2.0.0-alpha+incompatible Feb 11, 2019 Other modules containing this package github.com/farshidtz/senml/v2