Bo-Yi Wu
6fa9769a31
chore(gRPC): a new unary server interceptor for panic recovery ( #703 )
...
fix #691
2022-12-17 22:34:04 +08:00
Bo-Yi Wu
1d839f56c5
chore(gRPC): add PushType and Development ( #702 )
...
fix #697
2022-12-17 21:17:41 +08:00
Juan Vallés
3a593aacb1
fix: Serialise nested protobuf structs correctly ( #674 )
2022-05-05 21:13:18 +08:00
Romanenko Aleksei
5cced6f9fa
fix #418 : use struct.asMap() for data field ( #638 )
...
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2022-04-17 11:17:14 +08:00
rsmnarts
eac2553b25
add ID to grpc ( #641 )
...
Co-authored-by: rsmnarts <risman.zainuri@bluebirdgroup.com>
2021-11-03 22:14:46 +08:00
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
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
Bo-Yi Wu
d77e7fe4f2
chore(style): fix format by gofumpt
2021-01-23 09:39:06 +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
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
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
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
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
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
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