Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider interface { RegisterModel(entity interface{}) (ret model.Model, err *cd.Result) UnregisterModel(entity interface{}) (err *cd.Result) GetEntityType(entity interface{}) (ret model.Type, err *cd.Result) GetEntityValue(entity interface{}) (ret model.Value, err *cd.Result) GetEntityModel(entity interface{}) (ret model.Model, err *cd.Result) GetEntityFilter(entity interface{}, viewSpec model.ViewDeclare) (ret model.Filter, err *cd.Result) GetModelFilter(vModel model.Model, viewSpec model.ViewDeclare) (ret model.Filter, err *cd.Result) SetModelValue(vModel model.Model, vVal model.Value) (ret model.Model, err *cd.Result) GetValueModel(vVal model.Value, vType model.Type) (ret model.Model, err *cd.Result) GetTypeModel(vType model.Type) (ret model.Model, err *cd.Result) GetTypeFilter(vType model.Type, viewSpec model.ViewDeclare) (ret model.Filter, err *cd.Result) EncodeValue(vVal model.Value, vType model.Type) (ret model.RawVal, err *cd.Result) DecodeValue(eVal model.RawVal, vType model.Type) (ret model.Value, err *cd.Result) ElemDependValue(eVal model.RawVal) (ret []model.Value, err *cd.Result) AppendSliceValue(sliceVal model.Value, val model.Value) (ret model.Value, err *cd.Result) GetNewValue(valueDeclare model.ValueDeclare) (ret model.Value) Owner() string Reset() }
func NewLocalProvider ¶
NewLocalProvider model provider
func NewRemoteProvider ¶
NewRemoteProvider model provider
Click to show internal directories.
Click to hide internal directories.