xredis

command module
v0.0.0-...-2d4ed79 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

README

xredis

xredis是一个用Golang实现 仿Redis的 key-value内存数据库服务

目前已支持 string, list, set, sorted set 数据结构

支持多数据库,支持自动过期功能 (TTL)

支持AOF持久化及AOF重写

内置集群模式,集群对客户端是透明的,可以像使用单机版redis一样使用xredis集群

支持的命令:
  • Server
    • select
    • rewriteaof
    • bgrewriteaof
    • flushdb
    • flushall
  • String
    • Set
    • Get
  • List
    • LIndex
    • LLen
    • LPush
    • LPop
    • LPushX
    • LRange
    • LRem
    • LSet
    • RPop
    • RPopLPush
    • RPush
    • RPushX
  • Set
    • SAdd
    • SIsMember
    • SRem
    • SPop
    • SCard
    • SMembers
    • SRandMember
    • SInter
    • SInterStore
    • SUnion
    • SUnionStore
    • SDiff
    • SDiffStore
如何使用xredis:

xredis服务端:

xredis-server

xredis客户端:

xredis-cli

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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