docs: add support redis cluster
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
47222086ac
commit
83aaa37faf
|
@ -181,7 +181,7 @@ log:
|
||||||
stat:
|
stat:
|
||||||
engine: "memory" # support memory, redis, boltdb, buntdb or leveldb
|
engine: "memory" # support memory, redis, boltdb, buntdb or leveldb
|
||||||
redis:
|
redis:
|
||||||
cluster: false
|
cluster: false
|
||||||
addr: "localhost:6379" # if cluster is true, you may set this to "localhost:6379,localhost:6380,localhost:6381"
|
addr: "localhost:6379" # if cluster is true, you may set this to "localhost:6379,localhost:6380,localhost:6381"
|
||||||
password: ""
|
password: ""
|
||||||
db: 0
|
db: 0
|
||||||
|
|
|
@ -83,7 +83,8 @@ log:
|
||||||
stat:
|
stat:
|
||||||
engine: "memory" # support memory, redis, boltdb, buntdb or leveldb
|
engine: "memory" # support memory, redis, boltdb, buntdb or leveldb
|
||||||
redis:
|
redis:
|
||||||
addr: "localhost:6379"
|
cluster: false
|
||||||
|
addr: "localhost:6379" # if cluster is true, you may set this to "localhost:6379,localhost:6380,localhost:6381"
|
||||||
password: ""
|
password: ""
|
||||||
db: 0
|
db: 0
|
||||||
boltdb:
|
boltdb:
|
||||||
|
|
Loading…
Reference in New Issue