Documentation
¶
Index ¶
- type DeviceSnapshot
- type ShadowCore
- func (sc *ShadowCore) Get(deviceKey string) *DeviceSnapshot
- func (sc *ShadowCore) GetAllDevices() []string
- func (sc *ShadowCore) GetMetrics() map[string]interface{}
- func (sc *ShadowCore) GetValue(deviceKey, pointID string) (model.Value, bool)
- func (sc *ShadowCore) Remove(deviceKey string)
- func (sc *ShadowCore) Update(deviceKey string, values map[string]model.Value)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceSnapshot ¶
type ShadowCore ¶
type ShadowCore struct {
// contains filtered or unexported fields
}
func NewShadowCore ¶
func NewShadowCore() *ShadowCore
func (*ShadowCore) Get ¶
func (sc *ShadowCore) Get(deviceKey string) *DeviceSnapshot
func (*ShadowCore) GetAllDevices ¶
func (sc *ShadowCore) GetAllDevices() []string
func (*ShadowCore) GetMetrics ¶
func (sc *ShadowCore) GetMetrics() map[string]interface{}
func (*ShadowCore) GetValue ¶
func (sc *ShadowCore) GetValue(deviceKey, pointID string) (model.Value, bool)
func (*ShadowCore) Remove ¶
func (sc *ShadowCore) Remove(deviceKey string)
Click to show internal directories.
Click to hide internal directories.