kerem
9c51cbc989
make Huawei configs compatible with HMS Core 4.0 ( #561 )
...
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-03-28 22:13:02 +08:00
Bo-Yi Wu
d77e7fe4f2
chore(style): fix format by gofumpt
2021-01-23 09:39:06 +08:00
M. Salih Karakaşlı
3918fab908
Add Huawei Mobile Services Support to Gorush ( #523 )
...
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-09-04 11:01:21 +08:00
Romanenko Alexey
6bad4797b4
#510 add key id and team id ios cli flags ( #511 )
2020-05-18 22:32:50 +08:00
Emmet McPoland
685a87c930
Concurrent ios pushes ( #497 )
...
* Added the ability to concurrently call.push. Linter was complaining about "loop variable token captured by", need to determine if its a legitiment issue, as the lint message has now disappeared
* resolved "loop variable token captured by func literal" issue
* Ran make_fmt
* Moved max_concurrent_pushes to iOS
* Moved from limitgroup to sizedwaitgroup
* Removed SizedWaitGroup. Using client pool of 1 and buffered channels
* Fill client pool with the same client
* MaxConcurrentPushes is now applied across all running pushes
* Ran make fmt
* Corrected TestPushToIOS test
* Update README.md
Co-Authored-By: Yaroslav "Zorg" Zborovsky <yaronius@users.noreply.github.com>
* Added comment to config in all copies for max_concurrent_pushes
* Updated TestPushToIOS to be driven from config
Co-authored-by: Yaroslav "Zorg" Zborovsky <yaronius@users.noreply.github.com>
2020-04-23 21:02:53 +08:00
Bo-Yi Wu
c2136fffc7
chore(storage): storage performance issues ( #500 )
...
* chore(storage): storage performance issues
1. close storage connection before shutdown the service
2. update windows image
https://github.com/appleboy/gorush/issues/393
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-04-23 15:39:24 +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
bcd0e70252
feat(server): support graceful shutdown ( #461 )
...
* feat(server): support graceful shutdown
for http server
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-02-04 17:10:12 +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
850509e77c
chore(healthy): disable proxy in healthy check ( #457 )
...
fixed: https://github.com/appleboy/gorush/issues/456
Don’t use Go’s default HTTP client (in production)
ref: https://medium.com/@nate510/don-t-use-go-s-default-http-client-4804cb19f779
2020-01-25 10:16:41 +08:00
Keisuke Emi
1edfa9f532
Support HTTP proxy for APNs ( #445 )
2019-12-08 07:30:24 +08:00
Amin
42d406b85f
Fix typo in print error message ( #429 )
2019-10-16 15:01:58 +08:00
Iskander (Alex) Sharipov
313544bde6
remove unnecessary wrapping lambda, use function value directly ( #372 )
...
Found using https://go-critic.github.io/overview#unlambda-ref
2018-09-14 08:50:11 +08:00
Iskander (Alex) Sharipov
82c3ceb70d
remove dead code after log.Fatal call ( #371 )
...
Found using https://go-critic.github.io/overview#deadCodeAfterLogFatal-ref
2018-09-14 08:42:43 +08:00
Bo-Yi Wu
b3bdd9b79e
feat(docker): test a container to check that it is still working ( #346 )
2018-03-17 23:07:38 +08:00
Bo-Yi Wu
115ee18560
Send messages to topics for android ( #296 )
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-10-24 04:00:08 -05:00
Bo-Yi Wu
f3480d2dd8
Support global ENV setting. ( #293 )
...
* Support global ENV setting.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* add viper package
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* fix typo
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* fix testing.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* fix testing.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-10-22 22:06:30 -05:00
Bo-Yi Wu
e2d4d9db18
move main to top folder.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-10-23 07:42:38 +08:00
Bo-Yi Wu
77ea50f062
move main.go to cmd folder. ( #292 )
...
* move main.go to cmd folder.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* move docs.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-10-18 20:57:51 -05:00
JieJhih
df987d5e53
Fix annotation. ( #289 )
2017-09-30 23:06:12 +08:00
kazhuravlev
5d67fc7d17
Remove unused function ( #268 )
2017-08-15 12:33:26 +08:00
Bo-Yi Wu
ced4b6e97b
reorder import path.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-08-15 12:29:59 +08:00
Bo-Yi Wu
6864ffe9f0
Putting main() first makes reading the file a lot more easier.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-08-02 22:31:31 +08:00
Simone Basso
a714d03e2c
feature(server): allow to bind specific addresses ( #263 )
...
The main use case for ooniprobe is to bind 127.0.0.1 only.
2017-07-31 16:31:07 +08:00
Bo-Yi Wu
430de17755
refactor(andorid): initial client. ( #258 )
...
* refactor(andorid): initial client.
2017-07-25 16:41: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
Bo-Yi Wu
c1b9c19506
refacetor main.go
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-06-24 12:04:00 +08:00
Bo-Yi Wu
276cb49ae4
add redis addr flag. ( #236 )
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-06-07 06:09:21 -05:00
Bo-Yi Wu
304855c5a4
feat: support storage engine flag. ( #235 )
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-06-07 02:59:14 -05:00
Bo-Yi Wu
0a9a30c588
fix: improve cli command error. ( #223 )
2017-05-12 11:17:55 +08:00
Bo-Yi Wu
f155e20fa2
fix: Remove unnecessary type conversions ( #176 )
2017-01-27 18:19:39 +08:00
Bo-Yi Wu
2a00ed77ad
feat: support title flag on cli ( #172 )
2017-01-21 15:46:44 +08:00
Bo-Yi Wu
d8c4659c2b
feat: creat pid folder automatically.
2017-01-10 17:13:12 +08:00
Bo-Yi Wu
015a23d3ec
feat: add new flag --pid
2017-01-07 21:16:27 +08:00
Bo-Yi Wu
fd22832e7c
refactor: create pid file.
2017-01-07 18:45:34 +08:00
Bo-Yi Wu
e5b916c057
fix: GOMAXPROCS set to the number of cores available in 1.5
2017-01-05 14:25:52 +08:00
Bo-Yi Wu
93120911f8
rename gorush.go to main.go
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-16 23:02:23 +08:00
Bo-Yi Wu
9c8c0e08df
replace endless with manners
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-03-27 16:33:48 +08:00
Bo-Yi Wu
5812bd30d5
Add InitAPNSClient func.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-03-27 13:08:31 +08:00
Bo-Yi Wu
88c36ad5dc
support android key and ios cert path flag.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-03-27 12:55:31 +08:00
Bo-Yi Wu
bf703d3e20
support command line.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-03-27 10:58:57 +08:00
Bo-Yi Wu
81826ac10c
creat gopush folder and move all go file from root folder.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-03-27 00:09:43 +08:00
Bo-Yi Wu
0fe1c4cec3
update format.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-03-27 00:03:17 +08:00
Bo-Yi Wu
86654170c0
Add global ios client.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-03-26 23:42:22 +08:00
Bo-Yi Wu
5ce2a8e2ca
update ios cert config.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-03-26 14:26:07 +08:00
Bo-Yi Wu
76c71b5c9f
Add config file.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-03-26 13:59:56 +08:00
Bo-Yi Wu
79dace4485
support android `to` parameter.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-03-25 17:56:09 +08:00
Bo-Yi Wu
18167e643c
fix #3 add server version on header.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-03-25 09:23:46 +08:00
Bo-Yi Wu
88529bdb15
fix format.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-03-25 00:53:45 +08:00