Bo-Yi Wu
0a8d801380
fix: error from golangci-lint tool ( #623 )
2021-08-03 14:44:00 +08:00
Bo-Yi Wu
349c0c8c1d
fix: Function params involve heavy amount of copying ( #622 )
2021-08-02 14:07:30 +08:00
Bo-Yi Wu
8d03ac5f1e
refactor: remove config from notification struct. ( #617 )
...
* refactor: remove config from notification struct.
* chore: update
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-08-01 19:48:57 +08:00
Bo-Yi Wu
d9947ea44d
chore: rename gorush to notify package ( #609 )
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-24 01:56:33 +08:00
Bo-Yi Wu
2d01f8b854
chore: init log package ( #606 )
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-20 21:16:53 +08:00
Bo-Yi Wu
380162a38a
chore(queue): add queue message interface ( #602 )
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-18 01:58:46 +08:00
Bo-Yi Wu
73ff554b19
Only initial MaxConcurrentIOSPushes once. ( #591 )
2021-07-16 16:30:01 +08:00
Bo-Yi Wu
ab8b1991ab
chore: support single queue and multiple worker ( #589 )
2021-07-16 12:10:34 +08:00
Bo-Yi Wu
35e1998cc5
refactor: create logx package ( #584 )
2021-07-13 16:32:39 +08:00
dependabot[bot]
f0a2631ae9
chore(deps): bump grpc from 1.24.1 to 1.24.9 in /rpc/example/node ( #573 )
...
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-11 20:38:53 +08:00
dependabot[bot]
937bca3f37
chore(deps): bump lodash from 4.17.19 to 4.17.21 in /rpc/example/node ( #570 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-09 10:01:01 +08:00
Bo-Yi Wu
d77e7fe4f2
chore(style): fix format by gofumpt
2021-01-23 09:39:06 +08:00
dependabot[bot]
6bfab294cd
chore(deps): bump lodash from 4.17.15 to 4.17.19 in /rpc/example/node ( #541 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-27 13:20:10 +08:00
Bo-Yi Wu
bb18241ce9
fix(push): goroutine leak ( #540 )
2020-09-27 12:45:58 +08:00
Lysak Vladislav
dc4e210bec
chore(grpc): support Priority tag
...
fix : #492
close: https://github.com/appleboy/gorush/pull/537
2020-09-27 12:11:35 +08:00
Maxim Shilov
300fdc2f22
Enable sending notifications via gRPC to FCM topic ( #531 )
2020-07-09 15:46:52 +08:00
Bo-Yi Wu
7dbb5c98e7
refactor(worker): remove context from notification structure ( #503 )
2020-04-25 15:23:43 +08:00
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