Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateEntity ¶
func UpdateEntity(objectValue *remote.ObjectValue, entity interface{}) (err error)
UpdateEntity update object value -> entity
func UpdateSliceEntity ¶
func UpdateSliceEntity(sliceObjectValue *remote.SliceObjectValue, entitySlice interface{}) (err error)
UpdateSliceEntity update slice object value -> entitySlice
Types ¶
type Provider ¶
type Provider interface { RegisterModel(entity interface{}) (ret model.Model, err error) UnregisterModel(entity interface{}) GetEntityType(entity interface{}) (ret model.Type, err error) GetEntityValue(entity interface{}) (ret model.Value, err error) GetEntityModel(entity interface{}) (ret model.Model, err error) GetValueModel(vVal model.Value, vType model.Type) (ret model.Model, err error) GetTypeModel(vType model.Type) (ret model.Model, err error) EncodeValue(vVal model.Value, vType model.Type) (ret interface{}, err error) DecodeValue(vVal interface{}, vType model.Type) (ret model.Value, err error) ElemDependValue(val model.Value) (ret []model.Value, err error) AppendSliceValue(sliceVal model.Value, val model.Value) (ret model.Value, err error) IsAssigned(vVal model.Value, vType model.Type) bool Owner() string Prefix() string Reset() }
Provider model provider
func NewLocalProvider ¶
NewLocalProvider model provider
func NewRemoteProvider ¶
NewRemoteProvider model provider
Click to show internal directories.
Click to hide internal directories.