2016-03-27 05:33:48 +00:00
|
|
|
core:
|
|
|
|
port: "8088"
|
2016-04-14 12:37:58 +00:00
|
|
|
worker_num: 8
|
|
|
|
queue_num: 8192
|
2016-04-10 05:06:34 +00:00
|
|
|
max_notification: 100
|
2016-04-01 01:53:10 +00:00
|
|
|
mode: "release"
|
2016-03-28 06:40:48 +00:00
|
|
|
ssl: false
|
|
|
|
cert_path: "cert.pem"
|
|
|
|
key_path: "key.pem"
|
2016-07-29 01:38:06 +00:00
|
|
|
http_proxy: ""
|
2016-03-27 05:33:48 +00:00
|
|
|
|
|
|
|
api:
|
|
|
|
push_uri: "/api/push"
|
2016-04-15 02:24:39 +00:00
|
|
|
stat_go_uri: "/api/stat/go"
|
|
|
|
stat_app_uri: "/api/stat/app"
|
2016-04-15 07:05:23 +00:00
|
|
|
config_uri: "/api/config"
|
2016-06-26 04:21:32 +00:00
|
|
|
sys_stat_uri: "/sys/stats"
|
2016-03-27 05:33:48 +00:00
|
|
|
|
|
|
|
android:
|
2016-04-11 08:38:59 +00:00
|
|
|
enabled: true
|
|
|
|
apikey: "YOUR_API_KEY"
|
2016-03-27 05:33:48 +00:00
|
|
|
|
|
|
|
ios:
|
2016-03-27 13:12:11 +00:00
|
|
|
enabled: false
|
2016-06-12 11:09:41 +00:00
|
|
|
key_path: "key.pem"
|
2016-05-30 07:53:16 +00:00
|
|
|
password: ""
|
2016-03-27 05:33:48 +00:00
|
|
|
production: false
|
2016-04-05 05:15:47 +00:00
|
|
|
|
|
|
|
log:
|
2016-04-07 08:09:43 +00:00
|
|
|
format: "string" # string or json
|
2016-04-05 05:15:47 +00:00
|
|
|
access_log: "stdout"
|
|
|
|
access_level: "debug"
|
|
|
|
error_log: "stderr"
|
|
|
|
error_level: "error"
|
2016-05-16 13:04:05 +00:00
|
|
|
hide_token: true
|
2016-04-22 07:47:14 +00:00
|
|
|
|
|
|
|
stat:
|
|
|
|
engine: "memory"
|
|
|
|
redis:
|
|
|
|
addr: "localhost:6379"
|
|
|
|
password: ""
|
2016-04-22 09:54:00 +00:00
|
|
|
db: 0
|
2016-04-23 07:13:57 +00:00
|
|
|
boltdb:
|
|
|
|
path: "gorush.db"
|
|
|
|
bucket: "gorush"
|