Bo-Yi Wu
ca65d8ad2a
chore(node): upgrade minimist to 1.2.2 or later
2020-03-21 12:29:55 +08:00
Romanenko Alexey
983aeeb33d
#446 fix context ( #484 )
2020-03-14 00:06:44 +08:00
Bo-Yi Wu
44bf37941b
chore(grpc): add image field ( #485 )
2020-03-14 00:00:03 +08:00
Bo-Yi Wu
38f11f0592
chore: fix import path.
2020-03-10 21:10:18 +08:00
Slava Romanov
d06e4a2337
solve https://github.com/appleboy/gorush/issues/476 ( #481 )
...
* solve https://github.com/appleboy/gorush/issues/476
* add logging to start gRPC server (tcp listener)
change grpc.Server.Stop -> grpc.Server.GracefulStop
add grpc server_test
remove async functions from rpc/server.go
* add logging to err in rpc/server.go
2020-03-10 21:09:03 +08:00
Bo-Yi Wu
c379630c29
chore(graceful): support custom timeout value ( #466 )
...
fixed: https://github.com/appleboy/gorush/issues/465
2020-02-05 23:23:16 +08:00
Bo-Yi Wu
2113dfc84e
chore(rpc): graceful shutdown for RPC server ( #463 )
...
graceful shutdown for grpc service.
2020-02-04 22:42:06 +08:00
Bo-Yi Wu
2d2a8a0110
feat(worker): support graceful shutdown ( #459 )
...
* feat(worker): support graceful shutdown
notifications workers and queue have been sent to APNs/FCM before shutdown a push notification.
send buffered channel to signal.Notify to avoid blocking
see: golang/lint#175
fixed: https://github.com/appleboy/gorush/issues/441
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-02-04 13:27:27 +08:00
Bo-Yi Wu
3bfcd1e822
chore: replace yarn with npm ( #434 )
...
* chore: replace yarn with npm
* chore: update node.js example
2019-10-27 12:13:40 +08:00
dependabot[bot]
a4b41daf2d
chore(deps): bump tar from 2.2.1 to 2.2.2 in /rpc/example/node ( #413 )
...
Bumps [tar](https://github.com/npm/node-tar ) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/npm/node-tar/releases )
- [Commits](https://github.com/npm/node-tar/compare/v2.2.1...v2.2.2 )
2019-06-06 23:17:04 +08:00
Bo-Yi Wu
adcd6fed29
docs: update readme.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-05-21 14:33:35 +08:00
H
201413967c
Add missing GRPC data field ( #412 )
...
* feat(grpc): add support for data field in request body
* docs: update Readme with embedmd
2019-05-21 14:10:32 +08:00
Bo-Yi Wu
facb8a9834
refactor(proto): upgrade to gogo/protobuf/protoc-gen-gofast ( #381 )
...
* refactor(proto): upgrade to gogo/protobuf/protoc-gen-gofast
* feat: update
* feat: update
2018-11-15 15:42:09 +08:00
Bo-Yi Wu
e96811ae63
chore: return success for rpc response. ( #350 )
2018-04-11 10:14:28 +08:00
Bo-Yi Wu
b0260af17b
feat(grcp): support MutableContent for ios ( #332 )
2018-01-16 11:26:45 +08:00
Bo-Yi Wu
4c203c9829
feat(grpc): support ThreadID and ContentAvailable ( #328 )
2018-01-10 09:36:27 +08:00
Bo-Yi Wu
ffd78ffaec
feat(grpc): add alert other fields. ( #327 )
2018-01-06 15:03:21 +08:00
Bo-Yi Wu
df45f85a1c
chore(grpc): add sound field. ( #325 )
2018-01-04 11:31:03 +08:00
Bo-Yi Wu
651a2b76db
fix(grpc): check alert exist. ( #324 )
...
* fix(grpc): check alert exist.
* fix: update readme.
2018-01-03 17:08:28 +08:00
Bo-Yi Wu
8faae762fe
feat(grpc): support category, alert and badge for ios. ( #321 )
2018-01-02 15:53:15 +08:00
Bo-Yi Wu
b7b9cd22dd
remove unused const
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-11-14 16:56:57 +08:00
Bo-Yi Wu
c6e3b7417e
Add grpc check example. ( #306 )
...
* Add grpc check example.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* add missing package.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-11-14 00:18:48 -06:00
Bo-Yi Wu
25bfe420b0
Add grpc health check. ( #304 )
...
* Add grpc health check.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* fix missing package.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* fix readme..
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* fix vet
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-11-12 08:44:33 -06:00
Bo-Yi Wu
6d29e638b4
change grpc port to 9000 ( #291 )
...
* change grpc port to 9000
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* change grpc port to 9000
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-10-18 20:24:47 -05:00
Bo-Yi Wu
a2143d4fce
docs(readme): add grpc documentation.
2017-07-26 09:38:28 +08:00
Bo-Yi Wu
20713be962
feat(grpc): add node.js example. ( #260 )
...
* feat(grpc): add node.js example.
* remove comments.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-07-25 22:33:06 +08:00
Bo-Yi Wu
fadf9d280d
goroutines
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-07-24 21:46:42 +08:00
Bo-Yi Wu
a64fae7de7
refactor: send notification.
2017-07-24 21:17:11 +08:00
Bo-Yi Wu
41a8a609be
feat(config): add grpc config. ( #255 )
2017-07-24 18:58:30 +08:00
Bo-Yi Wu
9a52f8f2b5
feat(grpc): initial grpc server. ( #253 )
...
* feat(grpc): initial grpc server.
* refactor(vendor): add missing vendor.
* fix testing
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-07-24 15:06:23 +08:00