Skip to content

Commit

Permalink
更新目录
Browse files Browse the repository at this point in the history
  • Loading branch information
huangzworks committed Aug 13, 2013
1 parent 8798dcc commit 1dcf827
Show file tree
Hide file tree
Showing 12 changed files with 235 additions and 78 deletions.
11 changes: 11 additions & 0 deletions connection/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Connection(连接)
======================

.. toctree::
:maxdepth: 2

auth
echo
ping
quit
select
19 changes: 19 additions & 0 deletions hash/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Hash(哈希表)
=========================

.. toctree::
:maxdepth: 2

hdel
hexists
hget
hgetall
hincrby
hincrbyfloat
hkeys
hlen
hmget
hmset
hset
hsetnx
hvals
95 changes: 17 additions & 78 deletions index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,87 +12,26 @@ Redis 命令参考
所有示例代码均经过 Redis 2.8 版本测试,质量保证。
\ `查看 Redis 2.8 版本更新内容 <https://redis.readthedocs.org/en/latest/change_log.html#redis-2-8>`_\


命令目录(使用 CTRL + F 快速查找):
--------------------------------------

+-----------------------------------+-------------------------------------------+---------------------------------------+-----------------------------------+
| - Key(键) | - String(字符串) | - Hash(哈希表) | - List(列表) |
| | | | |
| - :doc:`key/del` | - :doc:`string/set` | - :doc:`hash/hset` | - :doc:`list/lpush` |
| - :doc:`key/keys` | - :doc:`string/setnx` | - :doc:`hash/hsetnx` | - :doc:`list/lpushx` |
| - :doc:`key/randomkey` | - :doc:`string/setex` | - :doc:`hash/hmset` | - :doc:`list/rpush` |
| - :doc:`key/ttl` | - :doc:`string/psetex` | - :doc:`hash/hget` | - :doc:`list/rpushx` |
| - :doc:`key/pttl` | - :doc:`string/setrange` | - :doc:`hash/hmget` | - :doc:`list/lpop` |
| - :doc:`key/exists` | - :doc:`string/mset` | - :doc:`hash/hgetall` | - :doc:`list/rpop` |
| - :doc:`key/move` | - :doc:`string/msetnx` | - :doc:`hash/hdel` | - :doc:`list/blpop` |
| - :doc:`key/rename` | - :doc:`string/append` | - :doc:`hash/hlen` | - :doc:`list/brpop` |
| - :doc:`key/renamenx` | - :doc:`string/get` | - :doc:`hash/hexists` | - :doc:`list/llen` |
| - :doc:`key/type` | - :doc:`string/mget` | - :doc:`hash/hincrby` | - :doc:`list/lrange` |
| - :doc:`key/expire` | - :doc:`string/getrange` | - :doc:`hash/hincrbyfloat` | - :doc:`list/lrem` |
| - :doc:`key/pexpire` | - :doc:`string/getset` | - :doc:`hash/hkeys` | - :doc:`list/lset` |
| - :doc:`key/expireat` | - :doc:`string/strlen` | - :doc:`hash/hvals` | - :doc:`list/ltrim` |
| - :doc:`key/pexpireat` | - :doc:`string/decr` | | - :doc:`list/lindex` |
| - :doc:`key/persist` | - :doc:`string/decrby` | | - :doc:`list/linsert` |
| - :doc:`key/sort` | - :doc:`string/incr` | | - :doc:`list/rpoplpush` |
| - :doc:`key/object` | - :doc:`string/incrby` | | - :doc:`list/brpoplpush` |
| - :doc:`key/migrate` | - :doc:`string/incrbyfloat` | | |
| - :doc:`key/dump` | - :doc:`string/setbit` | | |
| - :doc:`key/restore` | - :doc:`string/getbit` | | |
| | - :doc:`string/bitop` | | |
| | - :doc:`string/bitcount` | | |
| | | | |
+-----------------------------------+-------------------------------------------+---------------------------------------+-----------------------------------+
| | | | | | | | |
| - Set(集合) | - 有序集(Sorted set) | - Pub/Sub(发布/订阅) | - Transaction(事务) |
| | | | |
| - :doc:`set/sadd` | - :doc:`sorted_set/zadd` | - :doc:`pub_sub/publish` | - :doc:`transaction/watch` |
| - :doc:`set/srem` | - :doc:`sorted_set/zrem` | - :doc:`pub_sub/subscribe` | - :doc:`transaction/unwatch` |
| - :doc:`set/smembers` | - :doc:`sorted_set/zcard` | - :doc:`pub_sub/psubscribe` | - :doc:`transaction/multi` |
| - :doc:`set/sismember` | - :doc:`sorted_set/zcount` | - :doc:`pub_sub/unsubscribe` | - :doc:`transaction/discard` |
| - :doc:`set/scard` | - :doc:`sorted_set/zscore` | - :doc:`pub_sub/punsubscribe` | - :doc:`transaction/exec` |
| - :doc:`set/smove` | - :doc:`sorted_set/zincrby` | - :doc:`pub_sub/pubsub` | |
| - :doc:`set/spop` | - :doc:`sorted_set/zrange` | | |
| - :doc:`set/srandmember` | - :doc:`sorted_set/zrevrange` | | |
| - :doc:`set/sinter` | - :doc:`sorted_set/zrangebyscore` | | |
| - :doc:`set/sinterstore` | - :doc:`sorted_set/zrevrangebyscore` | | |
| - :doc:`set/sunion` | - :doc:`sorted_set/zrank` | | |
| - :doc:`set/sunionstore` | - :doc:`sorted_set/zrevrank` | | |
| - :doc:`set/sdiff` | - :doc:`sorted_set/zremrangebyrank` | | |
| - :doc:`set/sdiffstore` | - :doc:`sorted_set/zremrangebyscore` | | |
| | - :doc:`sorted_set/zinterstore` | | |
| | - :doc:`sorted_set/zunionstore` | | |
| | | | |
+-----------------------------------+-------------------------------------------+---------------------------------------+-----------------------------------+
| | | | | | |
| - Script(脚本) | - Connection(连接) | - Server(服务器) |
| | | |
| - :doc:`script/eval` | - :doc:`connection/auth` | - :doc:`server/time` |
| - :doc:`script/evalsha` | - :doc:`connection/ping` | - :doc:`server/dbsize` |
| - :doc:`script/script_load` | - :doc:`connection/select` | - :doc:`server/bgrewriteaof` |
| - :doc:`script/script_exists` | - :doc:`connection/echo` | - :doc:`server/bgsave` |
| - :doc:`script/script_kill` | - :doc:`connection/quit` | - :doc:`server/save` |
| - :doc:`script/script_flush` | | - :doc:`server/lastsave` |
| | | - :doc:`server/slaveof` |
| | | - :doc:`server/flushall` |
| | | - :doc:`server/flushdb` |
| | | - :doc:`server/shutdown` |
| | | - :doc:`server/slowlog` |
| | | - :doc:`server/info` |
| | | - :doc:`server/config_get` |
| | | - :doc:`server/config_set` |
| | | - :doc:`server/config_rewrite` |
| | | - :doc:`server/config_resetstat` |
| | | - :doc:`server/debug_object` |
| | | - :doc:`server/debug_segfault` |
| | | - :doc:`server/monitor` |
| | | - :doc:`server/sync` |
| | | - :doc:`server/psync` |
| | | - :doc:`server/client_list` |
| | | - :doc:`server/client_kill` |
| | | - :doc:`server/client_setname` |
| | | - :doc:`server/client_getname` |
| | | |
+-----------------------------------+-------------------------------------------+---------------------------------------------------------------------------+
+-------------------+-----------------------+-------------------+-----------------------+
| .. toctree:: | .. toctree:: | .. toctree:: | .. toctree:: |
| :maxdepth: 2 | :maxdepth: 2 | :maxdepth: 2 | :maxdepth: 2 |
| | | | |
| key/index | string/index | hash/index | list/index |
+-------------------+-----------------------+-------------------+-----------------------+
| .. toctree:: | .. toctree:: | .. toctree:: | .. toctree:: |
| :maxdepth: 2 | :maxdepth: 2 | :maxdepth: 2 | :maxdepth: 2 |
| | | | |
| set/index | sorted_set/index | pub_sub/index | transaction/index |
+-------------------+-----------------------+-------------------+-----------------------+
| .. toctree:: | .. toctree:: | .. toctree:: |
| :maxdepth: 2 | :maxdepth: 2 | :maxdepth: 2 |
| | | |
| script/index | connection/index | server/index |
+-------------------+-----------------------+-------------------+-----------------------+


文档
Expand Down
26 changes: 26 additions & 0 deletions key/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
Key(键)
=================

.. toctree::
:maxdepth: 2

del
dump
exists
expire
expireat
keys
migrate
move
object
persist
pexpire
pexpireat
pttl
randomkey
rename
renamenx
restore
sort
ttl
type
23 changes: 23 additions & 0 deletions list/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
List(列表)
================

.. toctree::
:maxdepth: 2

blpop
brpop
brpoplpush
lindex
linsert
llen
lpop
lpush
lpushx
lrange
lrem
lset
ltrim
rpop
rpoplpush
rpush
rpushx
13 changes: 13 additions & 0 deletions pub_sub/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Pub/Sub(发布/订阅)
=======================

.. toctree::
:maxdepth: 2

psubscribe
publish
pubsub
punsubscribe
subscribe
unsubscribe

12 changes: 12 additions & 0 deletions script/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Script(脚本)
======================

.. toctree::
:maxdepth: 2

eval
evalsha
script_exists
script_flush
script_kill
script_load
32 changes: 32 additions & 0 deletions server/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
Server(服务器)
===================

.. toctree::
:maxdepth: 2

bgrewriteaof
bgsave
client_getname
client_kill
client_list
client_setname
config_get
config_resetstat
config_rewrite
config_set
dbsize
debug_object
debug_segfault
flushall
flushdb
info
lastsave
monitor
psync
save
shutdown
slaveof
slowlog
sync
time

21 changes: 21 additions & 0 deletions set/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Set(集合)
======================

.. toctree::
:maxdepth: 2

sadd
scard
sdiff
sdiffstore
sinter
sinterstore
sismember
smembers
smove
spop
srandmember
srem
sunion
sunionstore

22 changes: 22 additions & 0 deletions sorted_set/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
SortedSet(有序集合)
==========================

.. toctree::
:maxdepth: 2

zadd
zcard
zcount
zincrby
zrange
zrangebyscore
zrank
zrem
zremrangebyrank
zremrangebyscore
zrevrange
zrevrangebyscore
zrevrank
zscore
zunionstore
zinterstore
28 changes: 28 additions & 0 deletions string/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
String(字符串)
===================

.. toctree::
:maxdepth: 2

append
bitcount
bitop
decr
decrby
get
getbit
getrange
getset
incr
incrby
incrbyfloat
mget
mset
msetnx
psetex
set
setbit
setex
setnx
setrange
strlen
11 changes: 11 additions & 0 deletions transaction/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Transaction(事务)
=======================

.. toctree::
:maxdepth: 2

discard
exec
multi
unwatch
watch

0 comments on commit 1dcf827

Please sign in to comment.