PageRenderTime 32ms CodeModel.GetById 14ms RepoModel.GetById 0ms app.codeStats 0ms

/README.md

http://github.com/elcuervo/lodis
Markdown | 159 lines | 154 code | 5 blank | 0 comment | 0 complexity | 513a3a6921769fc39a9e78f54e2135a2 MD5 | raw file
  1. # Lodis
  2. -----------------------------------------------------------------------
  3. |_____________________________________________________________________X
  4. | < | > | x |_____________________________________________________|
  5. -----------------------------------------------------------------------
  6. | _._ |
  7. | _.-``__ ''-._ |
  8. | _.-`` `. `_. ''-._ |
  9. | .-`` .-```. ```\\/ _.,_ ''-._ |
  10. | ( ' , .-` | `, ) |
  11. | |`-._`-...-` __...-.``-._|'` _.-'| Lodis 0.1 |
  12. | | `-._ `._ / _.-' | |
  13. | `-._ `-._ `-./ _.-' _.-' like Redis |
  14. | |`-._`-._ `-.__.-' _.-'_.-'| but in a browser |
  15. | | `-._`-._ _.-'_.-' | |
  16. | `-._ `-._`-.__.-'_.-' _.-' |
  17. | |`-._`-._ `-.__.-' _.-'_.-'| |
  18. | | `-._`-._ _.-'_.-' | |
  19. | `-._ `-._`-.__.-'_.-' _.-' |
  20. | `-._ `-.__.-' _.-' |
  21. | `-._ _.-' github.com/elcuervo/lodis |
  22. | `-.__.-' |
  23. |---------------------------------------------------------------------|
  24. -----------------------------------------------------------------------
  25. ## Compatibility
  26. Redis 2.4
  27. ## Supported commands
  28. * SET &#10003;
  29. * GET &#10003;
  30. * DEL &#10003;
  31. * EXISTS &#10003;
  32. * EXPIRE &#10003;
  33. * DBSIZE &#10003;
  34. * EXPIREAT &#10003;
  35. * KEYS &#10003;
  36. * APPEND key, value &#10003;
  37. * AUTH password &#10003;
  38. * BGREWRITEAOF &#10003;
  39. * BGSAVE &#10003;
  40. * BLPOP key [key ...] timeout
  41. * BRPOP key [key ...] timeout
  42. * BRPOPLPUSH source destination timeout
  43. * CONFIG GET parameter
  44. * CONFIG SET parameter value
  45. * CONFIG RESETSTAT
  46. * DEBUG OBJECT key
  47. * DEBUG SEGFAULT
  48. * DECR key &#10003;
  49. * DECRBY key decrement &#10003;
  50. * DISCARD
  51. * ECHO message &#10003;
  52. * EXEC
  53. * FLUSHALL &#10003;
  54. * FLUSHDB &#10003;
  55. * GETBIT key offset
  56. * GETRANGE key start end &#10003;
  57. * GETSET key value &#10003;
  58. * HDEL key field [field ...] &#10003;
  59. * HEXISTS key field &#10003;
  60. * HGET key field &#10003;
  61. * HGETALL key &#10003;
  62. * HINCRBY key field increment &#10003;
  63. * HKEYS key &#10003;
  64. * HLEN key &#10003;
  65. * HMGET key field [field ...] &#10003;
  66. * HMSET key field value [field value ...] &#10003;
  67. * HSET key field value &#10003;
  68. * HSETNX key field value &#10003;
  69. * HVALS key &#10003;
  70. * INCR key &#10003;
  71. * INCRBY key increment &#10003;
  72. * INFO
  73. * LASTSAVE
  74. * LINDEX key index &#10003;
  75. * LINSERT key BEFORE|AFTER pivot value &#10003;
  76. * LLEN key &#10003;
  77. * LPOP key &#10003;
  78. * LPUSH key value [value ...] &#10003;
  79. * LPUSHX key value &#10003;
  80. * LRANGE key start stop &#10003;
  81. * LREM key count value &#10003;
  82. * LSET key index value &#10003;
  83. * LTRIM key start stop &#10003;
  84. * MGET key [key ...] &#10003;
  85. * MONITOR
  86. * MOVE key db
  87. * MSET key value [key value ...] &#10003;
  88. * MSETNX key value [key value ...] &#10003;
  89. * MULTI
  90. * OBJECT subcommand [arguments [arguments ...]]
  91. * PERSIST key &#10003;
  92. * PING &#10003;
  93. * PSUBSCRIBE pattern [pattern ...]
  94. * PUBLISH channel message
  95. * PUNSUBSCRIBE [pattern [pattern ...]]
  96. * QUIT
  97. * RANDOMKEY &#10003;
  98. * RENAME key newkey &#10003;
  99. * RENAMENX key newkey &#10003;
  100. * RPOP key &#10003;
  101. * RPOPLPUSH source destination &#10003;
  102. * RPUSH key value [value ...] &#10003;
  103. * RPUSHX key value &#10003;
  104. * SADD key member [member ...] &#10003;
  105. * SAVE &#10003;
  106. * SCARD key &#10003;
  107. * SDIFF key [key ...] &#10003;
  108. * SDIFFSTORE destination key [key ...] &#10003;
  109. * SELECT index &#10003;
  110. * SETBIT key offset value
  111. * SETEX key seconds value &#10003;
  112. * SETNX key value &#10003;
  113. * SETRANGE key offset value &#10003;
  114. * SHUTDOWN &#10003;
  115. * SINTER key [key ...] &#10003;
  116. * SINTERSTORE destination key [key ...] &#10003;
  117. * SISMEMBER key member &#10003;
  118. * SLAVEOF host port
  119. * SLOWLOG subcommand [argument]
  120. * SMEMBERS key &#10003;
  121. * SMOVE source destination member &#10003;
  122. * SORT key [BY pattern] [LIMIT offset count] [GET pattern [GET pattern ...]] [ASC|DESC] [ALPHA] [STORE destination]
  123. * SPOP key &#10003;
  124. * SRANDMEMBER key &#10003;
  125. * SREM key member [member ...] &#10003;
  126. * STRLEN key &#10003;
  127. * SUBSCRIBE channel [channel ...]
  128. * SUNION key [key ...]
  129. * SUNIONSTORE destination key [key ...]
  130. * SYNC
  131. * TYPE key &#10003;
  132. * UNSUBSCRIBE [channel [channel ...]]
  133. * UNWATCH
  134. * WATCH key [key ...]
  135. * ZADD key score member
  136. * ZCARD key
  137. * ZCOUNT key min max
  138. * ZINCRBY key increment member
  139. * ZINTERSTORE destination numkeys key [key ...] [WEIGHTS weight [weight ...]] [AGGREGATE SUM|MIN|MAX]
  140. * ZRANGE key start stop [WITHSCORES]
  141. * ZRANGEBYSCORE key min max [WITHSCORES] [LIMIT offset count]
  142. * ZRANK key member
  143. * ZREM key member
  144. * ZREMRANGEBYRANK key start stop
  145. * ZREMRANGEBYSCORE key min max
  146. * ZREVRANGE key start stop [WITHSCORES]
  147. * ZREVRANGEBYSCORE key max min [WITHSCORES] [LIMIT offset count]
  148. * ZREVRANK key member
  149. * ZSCORE key member
  150. * ZUNIONSTORE destination numkeys key [key ...] [WEIGHTS weight [weight ...]] [AGGREGATE SUM|MIN|MAX]
  151. ## TODO
  152. * Store expirations within Lodis itself to avoid expiration dates on reload
  153. * Should handle types in a different way? custom types to match Redis?
  154. * Sync with Redis via HTTP?