diff --git a/README.md b/README.md index 340f579..f1363f2 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ A push notification server using [Gin](https://github.com/gin-gonic/gin) framewo * Support notification queue and multiple workers. * Support `/api/stat/app` show notification success and failure counts. * Support `/api/config` show your yml config. -* Support store app stat to [redis](http://redis.io/) or memory. +* Support store app stat to memory, [redis](http://redis.io/) or [BoltDB](https://github.com/boltdb/bolt). See the [YAML config example](config/config.yml): diff --git a/gorush/config.go b/gorush/config.go index 7511ee7..4e8f60e 100644 --- a/gorush/config.go +++ b/gorush/config.go @@ -61,7 +61,7 @@ type SectionLog struct { // SectionStat is sub seciont of config. type SectionStat struct { - Engine string `yaml:"service"` + Engine string `yaml:"engine"` Redis SectionRedis `yaml:"redis"` BoltDB SectionBoltDB `yaml:"boltdb"` }