diff --git a/README.md b/README.md index 07437da..db2c223 100644 --- a/README.md +++ b/README.md @@ -89,11 +89,11 @@ Choosing a store database to use is very simple, you have two ways: 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. -+ 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). ++ You must install lua by yourself first and be sure that `golua` can find and link it. ++ `go get -u github.com/siddontang/golua/lua` ++ `make` ## 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) + [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