feat: add async feedback hook option (#414)

* feat: add async feedback hook option

* remove unnecessary return values

* review: check feedback's resp state

* fix embedmd error

* fix config test

* add feedback tests

* fix errcheck issues
This commit is contained in:
Yassir Barchi
2019-09-06 09:48:42 +02:00
committed by Bo-Yi Wu
parent eab5710100
commit 3812d357fd
10 changed files with 163 additions and 16 deletions

View File

@@ -6,6 +6,7 @@ core:
queue_num: 0 # default queue number is 8192
max_notification: 100
sync: false # set true if you need get error message from fail push notification in API response.
feedback_hook_url: "" # set a hook url if you need get error message asynchronously from fail push notification in API response.
mode: "release"
ssl: false
cert_path: "cert.pem"