[ci skip] update readme.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
f73fff9eef
commit
68c17dceb8
10
README.md
10
README.md
|
@ -45,7 +45,7 @@ A push notification micro server using [Gin](https://github.com/gin-gonic/gin) f
|
||||||
* Support notification queue and multiple workers.
|
* Support notification queue and multiple workers.
|
||||||
* Support `/api/stat/app` show notification success and failure counts.
|
* Support `/api/stat/app` show notification success and failure counts.
|
||||||
* Support `/api/config` show your [YAML](https://en.wikipedia.org/wiki/YAML) config.
|
* Support `/api/config` show your [YAML](https://en.wikipedia.org/wiki/YAML) config.
|
||||||
* Support store app stat to memory, [Redis](http://redis.io/), [BoltDB](https://github.com/boltdb/bolt) or [BuntDB](https://github.com/tidwall/buntdb).
|
* Support store app stat to memory, [Redis](http://redis.io/), [BoltDB](https://github.com/boltdb/bolt), [BuntDB](https://github.com/tidwall/buntdb) or [LevelDB](https://github.com/syndtr/goleveldb).
|
||||||
* Support `p12` or `pem` formtat of iOS certificate file.
|
* Support `p12` or `pem` formtat of iOS certificate file.
|
||||||
* Support `/sys/stats` show response time, status code count, etc.
|
* Support `/sys/stats` show response time, status code count, etc.
|
||||||
* Support for HTTP proxy to Google server (GCM).
|
* Support for HTTP proxy to Google server (GCM).
|
||||||
|
@ -94,16 +94,18 @@ log:
|
||||||
hide_token: true
|
hide_token: true
|
||||||
|
|
||||||
stat:
|
stat:
|
||||||
engine: "memory" # support memory, redis or boltdb
|
engine: "memory" # support memory, redis, boltdb, buntdb or leveldb
|
||||||
redis:
|
redis:
|
||||||
addr: "localhost:6379"
|
addr: "localhost:6379"
|
||||||
password: ""
|
password: ""
|
||||||
db: 0
|
db: 0
|
||||||
boltdb:
|
boltdb:
|
||||||
path: "gorush.db"
|
path: "bolt.db"
|
||||||
bucket: "gorush"
|
bucket: "gorush"
|
||||||
buntdb:
|
buntdb:
|
||||||
path: "gorush.db"
|
path: "bunt.db"
|
||||||
|
leveldb:
|
||||||
|
path: "level.db"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Basic Usage
|
## Basic Usage
|
||||||
|
|
Loading…
Reference in New Issue