Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
Types ¶
type IDbClient ¶
type IDbClient interface { Insert(attrName string, attrID interface{}, data map[string]interface{}) error Save(attrName string, attrID interface{}, data map[string]interface{}, needReply bool) error Del(attrName string, attrID interface{}, needReply bool) error Load(attrName string, attrID interface{}, isSync ...interface{}) (map[string]interface{}, error) Exists(attrName string, attrID interface{}) (bool, error) ForEach(attrName string, callback func(attrID interface{}, data map[string]interface{})) LoadAll(attrName string) ([]interface { GetAttrID() interface{} GetData() map[string]interface{} }, error) // contains filtered or unexported methods }
func GetOrNewDbClient ¶
Click to show internal directories.
Click to hide internal directories.