From d4942853c41f30780cefb6df7ac1017230317fbb Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Fri, 29 Jul 2016 09:45:42 +0800 Subject: [PATCH] update readme. Signed-off-by: Bo-Yi Wu --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 264e09a..2898a68 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,7 @@ A push notification micro server using [Gin](https://github.com/gin-gonic/gin) f * 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. * Support `/sys/stats` show response time, status code count, etc. +* Support for HTTP proxy to Google server (GCM). See the [YAML config example](config/config.yml): @@ -61,6 +62,7 @@ core: ssl: false cert_path: "cert.pem" key_path: "key.pem" + http_proxy: "" # only working for GCM server api: push_uri: "/api/push" @@ -134,6 +136,7 @@ Server Options: -c, --config Configuration file -m, --message Notification message -t, --token Notification token + --proxy Proxy URL (only for GCM) iOS Options: -i, --key certificate key file path -P, --password certificate key password @@ -159,6 +162,7 @@ $ gorush -android -m="your message" -k="API Key" -t="Device token" * `-m`: Notification message. * `-k`: [Google cloud message](https://developers.google.com/cloud-messaging/) api key * `-t`: Device token. +* `--proxy`: Set http proxy url. (only working for GCM) ### Send iOS notification