Documentation ¶
Index ¶
- func ConnectionCreate(conn *define.Connection) error
- func ConnectionDelete(identity string) error
- func ConnectionEdit(conn *define.Connection) error
- func ConnectionList() ([]*define.Connection, error)
- func CreateKeyValue(req *define.CreateKeyValueRequest) error
- func DbList(identity string) ([]*define.DbItem, error)
- func DeleteKeyValue(req *define.KeyValueRequest) error
- func GetKeyValue(req *define.KeyValueRequest) (*define.KeyValueReply, error)
- func HashAddOrUpdateField(req *define.HashAddOrUpdateFieldRequest) error
- func HashFieldDelete(req *define.HashFieldDeleteRequest) error
- func KeyList(req *define.KeyListRequest) ([]string, error)
- func ListValueCreate(req *define.ListValueRequest) error
- func ListValueDelete(req *define.ListValueRequest) error
- func SetValueCreate(req *define.SetValueRequest) error
- func SetValueDelete(req *define.SetValueRequest) error
- func UpdateKeyValue(req *define.UpdateKeyValueRequest) error
- func ZSetValueCreate(req *define.ZSetValueRequest) error
- func ZSetValueDelete(req *define.ZSetValueRequest) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateKeyValue ¶
func CreateKeyValue(req *define.CreateKeyValueRequest) error
CreateKeyValue 创建键值对
func GetKeyValue ¶
func GetKeyValue(req *define.KeyValueRequest) (*define.KeyValueReply, error)
GetKeyValue 获取键值对
func HashAddOrUpdateField ¶
func HashAddOrUpdateField(req *define.HashAddOrUpdateFieldRequest) error
HashAddOrUpdateField hash 字段新增、修改
func HashFieldDelete ¶
func HashFieldDelete(req *define.HashFieldDeleteRequest) error
HashFieldDelete hash 字段删除
func ListValueCreate ¶ added in v0.1.2
func ListValueCreate(req *define.ListValueRequest) error
func ListValueDelete ¶ added in v0.1.2
func ListValueDelete(req *define.ListValueRequest) error
func SetValueCreate ¶ added in v0.1.2
func SetValueCreate(req *define.SetValueRequest) error
func SetValueDelete ¶ added in v0.1.2
func SetValueDelete(req *define.SetValueRequest) error
func UpdateKeyValue ¶
func UpdateKeyValue(req *define.UpdateKeyValueRequest) error
UpdateKeyValue 更新键值对数据
func ZSetValueCreate ¶ added in v0.1.2
func ZSetValueCreate(req *define.ZSetValueRequest) error
func ZSetValueDelete ¶ added in v0.1.2
func ZSetValueDelete(req *define.ZSetValueRequest) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.