Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alert ¶ added in v0.2.1
type Alert struct { Name string `json:"name"` Enabled bool `json:"enabled"` DeviceId int32 `json:"device_id"` SensorId int32 `json:"sensor_id"` AttributeId int32 `json:"attribute_id"` OperatorId int32 `json:"operator_id"` MessageId int32 `json:"message_id"` Frequency int32 `json:"frequency"` Value1 float64 `json:"value1"` Value2 sql.NullFloat64 `json:"value2"` }
type AlertNotificationIncoming ¶ added in v0.2.1
type AlertNotificationIncoming struct { ID int32 `json:"ID"` V0 float64 `json:"0"` V1 float64 `json:"1"` V2 float64 `json:"2"` AttrName string `json:"AttrName"` OP string `json:"OP"` AlertName string `json:"AlertName"` SenName string `json:"SenName"` DevName string `json:"DevName"` Time string `json:"Time"` Location string `json:"Loc"` Unit string `json:"Unit"` }
type KeyValuePair ¶
type LoginRequest ¶
type NewMessage ¶ added in v0.2.1
type OkCreatedJsonMessage ¶
type OkCreatedJsonMessage struct { Message string `json:"message"` Data interface{} `json:"data"` }
type OkJsonMessage ¶
type OkJsonMessage struct {
Message string `json:"message"`
}
type OpenWeatherLocation ¶
type Threshold ¶ added in v0.2.1
type Threshold struct { Id int32 `json:"id"` Name string `json:"name"` Enabled bool `json:"enabled"` DeviceId int32 `json:"device_id"` SensorId int32 `json:"sensor_id"` AttributeId int32 `json:"attribute_id"` OperatorId int32 `json:"operator_id"` MessageId int32 `json:"message_id"` Frequency int32 `json:"frequency"` Value1 float64 `json:"value1"` Value2 sql.NullFloat64 `json:"value2"` }
type TokenClaims ¶
type TokenClaims struct { Username string `json:"username"` jwt.RegisteredClaims }
Click to show internal directories.
Click to hide internal directories.