Versions in this module Expand all Collapse all v1 v1.0.1 Oct 17, 2020 v0 v0.14.0 Mar 3, 2020 v0.12.10 Sep 23, 2019 Changes in this version type Location + SubType string type ServiceExtendedView + LocationSubType string + LocationType string v0.12.3 Aug 3, 2019 Changes in this version + const AppContainer + const AttributeUpdatedByCmd + const AttributeUpdatedByEvt + const IDnil + const ThingContainer + type Adapter struct + ID ID + Services []Service + type App struct + ID ID + Services []Service + type AttributeValueContainer struct + UpdatedAt time.Time + UpdatedBy int + Value interface{} + ValueType string + type Bridge struct + ID ID + Services []Service + type ID int + type Interface struct + MsgType string + Type string + ValueType string + Version string + type InterfaceFlatView struct + Groups []string + InterfaceAddress string + InterfaceMsgType string + InterfaceType string + InterfaceValueType string + LocationAlias string + LocationId ID + LocationType string + ServiceAddress string + ServiceAlias string + ServiceId ID + ServiceName string + ThingAddress string + ThingAlias string + ThingId ID + ThingTech string + type Location struct + Address string + Alias string + ChildLocations []Location + ID ID + Image string + IntegrationId string + Latitude float64 + Longitude float64 + State string + Type string + type Service struct + Address string + Alias string + Attributes map[string]AttributeValueContainer + Enabled bool + Groups []string + ID ID + IntegrationId string + Interfaces []Interface + LocationId ID + Name string + ParentContainerId ID + ParentContainerType string + Props map[string]interface{} + Tags []string + type ServiceExtendedView struct + LocationAlias string + type Thing struct + Address string + Alias string + CommTechnology string + DeviceId string + HwVersion string + ID ID + IntegrationId string + LocationId ID + ManufacturerId string + PowerSource string + ProductHash string + ProductId string + ProductName string + PropSets map[string]map[string]interface{} + Security string + SwVersion string + Tags []string + TechSpecificProps map[string]string + Type string + UpdatedAt time.Time + WakeUpInterval string + type ThingExtendedView struct + LocationAlias string + Services []ServiceExtendedView + type ThingRegistry struct + Locations []Location + Things []Thing + type ThingRegistryStore struct + func NewThingRegistryStore(storeFile string) *ThingRegistryStore + func (st *ThingRegistryStore) ClearAll() error + func (st *ThingRegistryStore) Connect() error + func (st *ThingRegistryStore) DeleteLocation(id ID) error + func (st *ThingRegistryStore) DeleteService(id ID) error + func (st *ThingRegistryStore) DeleteThing(id ID) error + func (st *ThingRegistryStore) Disconnect() + func (st *ThingRegistryStore) ExtendThingsWithLocation(things []Thing) []ThingWithLocationView + func (st *ThingRegistryStore) GetAllLocations() ([]Location, error) + func (st *ThingRegistryStore) GetAllServices() ([]Service, error) + func (st *ThingRegistryStore) GetAllThings() ([]Thing, error) + func (st *ThingRegistryStore) GetConnection() interface{} + func (st *ThingRegistryStore) GetExtendedServices(serviceNameFilter string, filterWithoutAlias bool, thingIdFilter ID, ...) ([]ServiceExtendedView, error) + func (st *ThingRegistryStore) GetLocationById(Id ID) (*Location, error) + func (st *ThingRegistryStore) GetLocationByIntegrationId(id string) (*Location, error) + func (st *ThingRegistryStore) GetServiceByAddress(serviceName string, serviceAddress string) (*Service, error) + func (st *ThingRegistryStore) GetServiceByFullAddress(address string) (*ServiceExtendedView, error) + func (st *ThingRegistryStore) GetServiceById(Id ID) (*Service, error) + func (st *ThingRegistryStore) GetState() string + func (st *ThingRegistryStore) GetThingByAddress(technology string, address string) (*Thing, error) + func (st *ThingRegistryStore) GetThingById(Id ID) (*Thing, error) + func (st *ThingRegistryStore) GetThingByIntegrationId(id string) (*Thing, error) + func (st *ThingRegistryStore) GetThingExtendedViewByAddress(technology string, address string) (*ThingExtendedView, error) + func (st *ThingRegistryStore) GetThingExtendedViewById(Id ID) (*ThingExtendedView, error) + func (st *ThingRegistryStore) GetThingsByLocationId(locationId ID) ([]Thing, error) + func (st *ThingRegistryStore) Init() error + func (st *ThingRegistryStore) LoadConfig(config interface{}) error + func (st *ThingRegistryStore) ReindexAll() error + func (st *ThingRegistryStore) Stop() + func (st *ThingRegistryStore) UpsertLocation(location *Location) (ID, error) + func (st *ThingRegistryStore) UpsertService(service *Service) (ID, error) + func (st *ThingRegistryStore) UpsertThing(thing *Thing) (ID, error) + type ThingWithLocationView struct + LocationAlias string