Commit Graph

35 Commits

Author SHA1 Message Date
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
Bo-Yi Wu dec7c1cfed support ios notification.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-03-25 00:46:37 +08:00
Bo-Yi Wu 199e5b0cfb initial main file.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-03-24 17:01:43 +08:00