update read me

This commit is contained in:
siddontang 2014-09-07 10:58:18 +08:00
parent fd41374d9f
commit b5518dd14c
1 changed files with 10 additions and 4 deletions

View File

@ -89,11 +89,11 @@ Choosing a store database to use is very simple, you have two ways:
Flag command set will overwrite config set. Flag command set will overwrite config set.
**Caveat** ## Lua support
+ You must known that changing store database runtime is very dangerous, LedisDB will not guarantee the data validation if you do it. + You must install lua by yourself first and be sure that `golua` can find and link it.
+ Begin a transaction will block any other write operators before you call `commit` or `rollback`. Don't use long-time transaction. + `go get -u github.com/siddontang/golua/lua`
+ `pcall` and `xpcall` are not supported in lua, you can see the readme in [golua](https://github.com/aarzilli/golua). + `make`
## Configuration ## Configuration
@ -159,6 +159,12 @@ See [Issues todo](https://github.com/siddontang/ledisdb/issues?labels=todo&page=
+ [GoDoc](https://godoc.org/github.com/siddontang/ledisdb) + [GoDoc](https://godoc.org/github.com/siddontang/ledisdb)
+ [Server Commands](https://github.com/siddontang/ledisdb/wiki/Commands) + [Server Commands](https://github.com/siddontang/ledisdb/wiki/Commands)
## Caveat
+ You must known that changing store database runtime is very dangerous, LedisDB will not guarantee the data validation if you do it.
+ Begin a transaction will block any other write operators before you call `commit` or `rollback`. Don't use long-time transaction.
+ `pcall` and `xpcall` are not supported in lua, you can see the readme in [golua](https://github.com/aarzilli/golua).
## Thanks ## Thanks