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