Documentation
¶
Overview ¶
Package encoding encodes GX structure
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BridgeProcessor ¶
type BridgeProcessor func(types.ArrayBridge) (types.ArrayBridge, error)
BridgeProcessor processes a bridge instance once it has been loaded.
func SendToDevice ¶
func SendToDevice(dev *api.Device) BridgeProcessor
SendToDevice returns a bridge processor to send arrays to the device when they are loaded.
type Data ¶
type Data interface { // ToDataSlice returns a slice view on the serialized data. ToDataSlice() (DataSlice, error) // ToDataStruct returns a struct view on the serialized data. ToDataStruct() (DataStruct, error) // ValueFuture able to return data once it has been loaded. ValueFuture() (ValueFuture, error) }
Data is a generic kind of data.
type DataStruct ¶
DataStruct is serialized data of a struct.
type ValueFuture ¶
type ValueFuture interface {
Value() (types.ArrayBridge, error)
}
ValueFuture is a proxy to a concrete value being loaded perhaps in the background.
Click to show internal directories.
Click to hide internal directories.