[ci skip] update readme.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2016-06-12 15:56:13 +08:00
parent 146854e381
commit 377fca0bae
2 changed files with 1 additions and 2 deletions

View File

@ -45,6 +45,7 @@ A push notification server using [Gin](https://github.com/gin-gonic/gin) framewo
* 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/) or [BoltDB](https://github.com/boltdb/bolt). * Support store app stat to memory, [Redis](http://redis.io/) or [BoltDB](https://github.com/boltdb/bolt).
* Support `p12` or `pem` formtat of iOS certificate file.
See the [YAML config example](config/config.yml): See the [YAML config example](config/config.yml):

View File

@ -154,8 +154,6 @@ func InitAPNSClient() error {
err = errors.New("Wrong Certificate key extension.") err = errors.New("Wrong Certificate key extension.")
} }
// CertificatePemIos, err = certificate.FromPemFile(PushConf.Ios.PemPath, PushConf.Ios.Password)
if err != nil { if err != nil {
LogError.Error("Cert Error:", err.Error()) LogError.Error("Cert Error:", err.Error())