Commit Graph

570 Commits

Author SHA1 Message Date
Bo-Yi Wu 770aee9859 refactor(Makefile): allow overriding default go program (#270)
* refactor(Makefile): allow overriding default go program

* fix typo

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-08-15 12:16:04 +08:00
Bo-Yi Wu 2bcc17de51 check response header. (#266)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-08-06 09:53:38 +08:00
Bo-Yi Wu b9104de2c5 update gin to v1.2
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-08-04 10:43:13 +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
Bo-Yi Wu 83d155bade docs(config): add bind address doc. (#264) 2017-07-31 16:37:56 +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 00ff0248a2 feat(config): enable or disable httpd server. (#262) 2017-07-27 11:19:36 +08:00
Bo-Yi Wu ac7bd0afd3 update makefile
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-07-26 23:24:43 +08:00
Bo-Yi Wu a2143d4fce docs(readme): add grpc documentation. 2017-07-26 09:38:28 +08:00
Bo-Yi Wu 04b97019c8 add init func for testing.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-07-26 09:14:18 +08:00
Bo-Yi Wu 510265bb5b fix: file path in target. 2017-07-25 22:53:21 +08:00
Bo-Yi Wu f482c98128 feat(Makefile): add generate proto method 2017-07-25 22:50:00 +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 f7168cfc9a refactor(testing): add ios testing file. (#259)
* refactor(testing): add ios testing file.

* initial workers.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-07-25 21:05:27 +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 fadf9d280d goroutines
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-07-24 21:46:42 +08:00
Bo-Yi Wu 2e3cc8e281 fix: check return value (#256)
* fix: check return value

* fix testing

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-07-24 21:41:21 +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
Bo-Yi Wu 478e39ec65 update codecov secrets
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-07-21 21:48:49 +08:00
Bo-Yi Wu e03484aa5b remove codecov token from golang-testing
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-07-21 09:19:37 +08:00
Bo-Yi Wu 5da50c2aaa refactor(coverage): add coverage process in drone (#251)
* refactor(coverage): add coverage process in drone

* update

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-07-20 20:18:52 -05:00
Bo-Yi Wu 460b74d8a6 refactor(notification): separate ios and android (#250) 2017-07-16 22:22:48 -05:00
Bo-Yi Wu 6a64b42ab0 chore(vendor): upgrade gin repo (#249) 2017-07-14 22:23:57 -05:00
Bo-Yi Wu 02f0390d4d upgrade gin to v1.2 (#245)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-07-04 04:03:06 -05:00
Bo-Yi Wu 17229a17f8 update GOPATH. (#244)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-06-25 00:42:40 -05:00
Bo-Yi Wu ecd0aa8ed2
add github.com/sirupsen/logrus
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-06-25 02:23:24 +08:00
Bo-Yi Wu 7b9a06c860
remove github.com/Sirupsen/logrus
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-06-25 02:20:51 +08:00
Bo-Yi Wu 7fb51220c1
refactor initial variable
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-06-25 01:55:07 +08:00
Bo-Yi Wu 45a3ca891e refactor: storage key. (#242)
* refactor: storage key.

* fix path

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-06-24 11:48:48 -05:00
Bo-Yi Wu 16c3f5c46c refactor: update status init func (#241) 2017-06-24 09:47:35 -05:00
Bo-Yi Wu 55ec234a76
ignore build success notification.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-06-24 14:39:33 +08:00
Bo-Yi Wu 8dcc680434 move storage interface to storage folder. (#240)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-06-23 23:09:45 -05: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 a7a633bed1
[ci skip] update readme format.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-06-23 15:14:08 +08:00
Bo-Yi Wu eb05be95f0 feat: add k8s config. (#237) 2017-06-07 09:11:05 -05: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 d4e021dd0c
feat: add misspell fix command. 2017-06-05 11:50:00 +08:00
Bo-Yi Wu 5951f32711
fix golang bin path.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-06-05 11:17:07 +08:00
Bo-Yi Wu 2e6a8d728d
Exit with 2 if misspelling found
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-06-05 10:49:53 +08:00
Bo-Yi Wu 8ba68d0de0
add PHONY
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-06-05 10:45:38 +08:00
Bo-Yi Wu 6075d30a54 feat: check misspelling (#234) 2017-06-04 21:42:07 -05:00
Bo-Yi Wu fb7109835a refactor: update gofmt check (#233) 2017-06-04 21:26:45 -05:00
Bo-Yi Wu 5651d9e51f
update to v1.9.0 download link.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-06-01 21:17:53 +08:00
Bo-Yi Wu 14dc899b02 feat: check unused package (#232)
* feat: check unused package

update edganiukov/fcm to appleboy/go-fcm

* update readme

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* update comment

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-06-01 02:52:01 -05:00
Bo-Yi Wu 77bce18c9f feat: upgrade gcm to fcm (#231)
https://github.com/edganiukov/fcm

fix #230
2017-05-31 22:56:10 -05:00
Bo-Yi Wu c16500306f [ci skip] remove FCM 2017-05-25 00:19:17 +08:00
Bo-Yi Wu f45ec8579d
docs: [ci skip] update donwload link 2017-05-19 10:29:32 +08:00