Documentation ¶
Index ¶
- Constants
- func CharacteristicToSkeleton(characteristic model.Characteristic) (out *interface{}, idToPtr map[string]*interface{}, err error)
- func ContentToSkeleton(content model.ContentVariable, partial Partial) (out *interface{}, idToPtr map[string][]*interface{}, err error)
- func MapActuator(in interface{}, characteristic model.Characteristic, ...) (out interface{}, err error)
- func MapSensor(in interface{}, content model.ContentVariable, category model.Characteristic) (out interface{}, err error)
- func MapSensors(in map[string]interface{}, contents map[string]model.ContentVariable, ...) (out interface{}, err error)
- type Partial
- type PartialStruct
Constants ¶
View Source
const VAR_LEN_PLACEHOLDER = "*"
Variables ¶
This section is empty.
Functions ¶
func CharacteristicToSkeleton ¶
func CharacteristicToSkeleton(characteristic model.Characteristic) (out *interface{}, idToPtr map[string]*interface{}, err error)
func ContentToSkeleton ¶
func ContentToSkeleton(content model.ContentVariable, partial Partial) (out *interface{}, idToPtr map[string][]*interface{}, err error)
func MapActuator ¶
func MapActuator(in interface{}, characteristic model.Characteristic, content model.ContentVariable, partial Partial) (out interface{}, err error)
func MapSensor ¶
func MapSensor(in interface{}, content model.ContentVariable, category model.Characteristic) (out interface{}, err error)
func MapSensors ¶
func MapSensors(in map[string]interface{}, contents map[string]model.ContentVariable, category model.Characteristic, hints []string) (out interface{}, err error)
Types ¶
type PartialStruct ¶
type PartialStruct struct {
Value *interface{}
}
Click to show internal directories.
Click to hide internal directories.