service

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectionCreate

func ConnectionCreate(conn *define.Connection) error

ConnectionCreate 创建连接

func ConnectionDelete

func ConnectionDelete(identity string) error

ConnectionDelete 删除连接

func ConnectionEdit

func ConnectionEdit(conn *define.Connection) error

ConnectionEdit 编辑连接

func ConnectionList

func ConnectionList() ([]*define.Connection, error)

ConnectionList 连接列表

func CreateKeyValue

func CreateKeyValue(req *define.CreateKeyValueRequest) error

CreateKeyValue 创建键值对

func DbList

func DbList(identity string) ([]*define.DbItem, error)

DbList 数据库列表

func DeleteKeyValue

func DeleteKeyValue(req *define.KeyValueRequest) error

DeleteKeyValue 删除键值对

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 KeyList

func KeyList(req *define.KeyListRequest) ([]string, error)

KeyList 键列表

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL