diff --git a/.travis.yml b/.travis.yml index b3deba4..919b36b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,7 @@ go: services: - docker + - redis env: global: diff --git a/README.md b/README.md index eb27fba..9faf46f 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,13 @@ log: access_level: "debug" error_log: "stderr" # stderr: output to console, or define log path like "log/error_log" error_level: "error" + +stat: + engine: "memory" # support memory or redis + redis: + addr: "localhost:6379" + password: "" + db: 0 ``` ## Basic Usage