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 error) UnregisterModel(entity interface{}) (ret model.Model, err error) GetEntityType(entity interface{}) (ret model.Type, err error) GetEntityValue(entity interface{}) (ret model.Value, err error) GetEntityModel(entity interface{}) (ret model.Model, err error) GetEntityFilter(entity interface{}) (ret model.Filter, err error) GetModelFilter(vModel model.Model) (ret model.Filter, err error) GetValueModel(vVal model.Value, vType model.Type) (ret model.Model, err error) GetTypeModel(vType model.Type) (ret model.Model, err error) GetTypeFilter(vType model.Type) (ret model.Filter, 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) 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.