Versions in this module Expand all Collapse all v1 v1.9.1 Mar 9, 2022 Changes in this version + func ParserIdentity(identity string) (isChildDevice bool, pIdentity string, instanceId int) type Attribute + Aid uint64 + Iid uint64 + Permission uint type Device + InstanceMap map[int]*Instance type Instance + AttributeMap map[string]*Attribute v1.5.0 Nov 23, 2021 v1.4.0 Oct 19, 2021 Changes in this version + func ToSnakeCase(str string) string + type Attribute struct + Active bool + ID int + Model interface{} + Name string + Require bool + Tag string + Type string + TypeModel interface{} + func DeepAttrs(dest interface{}, incrAttrID int) (attrs []*Attribute) + type Device struct + InstanceNames []string + Instances []*Instance + Model interface{} + func Parse(dest interface{}) *Device + func (d *Device) GetAttribute(instanceID int, attr string) *Attribute + type DeviceName interface + DeviceName func() string + type Instance struct + AttributeNames []string + Attributes []*Attribute + ID int + Model interface{} + Name string + Tag string + Type string + func ParseInstance(dest interface{}) *Instance + func (instance *Instance) GetAttribute(name string) *Attribute + type InstanceName interface + InstanceName func() string