Documentation ¶
Index ¶
- func DecodeObject(data []byte) (ret *remote.Object, err error)
- func EncodeObject(objPtr *remote.Object) (ret []byte, err error)
- func GetObject(entity interface{}) (ret *remote.Object, err error)
- func GetObjectValue(entity interface{}) (ret *remote.ObjectValue, err error)
- func GetSliceObjectValue(sliceEntity interface{}) (ret *remote.SliceObjectValue, err error)
- func UpdateEntity(remoteValue *remote.ObjectValue, localEntity any) (err error)
- func UpdateSliceEntity(remoteValue *remote.SliceObjectValue, localEntity any) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeObject ¶ added in v1.3.28
func GetObjectValue ¶ added in v1.3.28
func GetObjectValue(entity interface{}) (ret *remote.ObjectValue, err error)
GetObjectValue get object value
func GetSliceObjectValue ¶ added in v1.3.28
func GetSliceObjectValue(sliceEntity interface{}) (ret *remote.SliceObjectValue, err error)
GetSliceObjectValue get slice object value
func UpdateEntity ¶ added in v1.3.28
func UpdateEntity(remoteValue *remote.ObjectValue, localEntity any) (err error)
UpdateEntity update object value -> entity
func UpdateSliceEntity ¶ added in v1.3.28
func UpdateSliceEntity(remoteValue *remote.SliceObjectValue, localEntity any) (err error)
UpdateSliceEntity update slice object value -> entitySlice
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.