[ci skip] update readme.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2016-12-23 11:43:26 +08:00
parent 1f404e0864
commit e2cc0a49c5
1 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ A push notification micro server using [Gin](https://github.com/gin-gonic/gin) f
## Features ## Features
* Support [Google Cloud Message](https://developers.google.com/cloud-messaging/) using [go-gcm](https://github.com/google/go-gcm) library for Android. * Support [Google Cloud Message](https://developers.google.com/cloud-messaging/) ([Firebase Cloud Messaging](https://firebase.google.com/docs/cloud-messaging/) now) using [go-gcm](https://github.com/google/go-gcm) library for Android.
* Support [HTTP/2](https://http2.github.io/) Apple Push Notification Service using [apns2](https://github.com/sideshow/apns2) library. * Support [HTTP/2](https://http2.github.io/) Apple Push Notification Service using [apns2](https://github.com/sideshow/apns2) library.
* Support [YAML](https://github.com/go-yaml/yaml) configuration. * Support [YAML](https://github.com/go-yaml/yaml) configuration.
* Support command line to send single Android or iOS notification. * Support command line to send single Android or iOS notification.
@ -184,7 +184,7 @@ $ gorush -android -m="your message" -k="API Key" -t="Device token"
``` ```
* `-m`: Notification message. * `-m`: Notification message.
* `-k`: [Google cloud message](https://developers.google.com/cloud-messaging/) api key * `-k`: [Firebase Cloud Messaging](https://firebase.google.com/docs/cloud-messaging/) api key
* `-t`: Device token. * `-t`: Device token.
* `--proxy`: Set http proxy url. (only working for GCM) * `--proxy`: Set http proxy url. (only working for GCM)