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{}) (ret model.Model, 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) 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 interface{}, err *cd.Result) DecodeValue(vVal interface{}, vType model.Type) (ret model.Value, err *cd.Result) ElemDependValue(val model.Value) (ret []model.Value, err *cd.Result) AppendSliceValue(sliceVal model.Value, val model.Value) (ret model.Value, err *cd.Result) GetValue(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.