core: port: "8088" # ignore this port number if auto_tls is enabled (listen 443). worker_num: 0 # default worker number is runtime.NumCPU() 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. mode: "release" ssl: false cert_path: "cert.pem" key_path: "key.pem" http_proxy: "" # only working for FCM server pid: enabled: false path: "gorush.pid" override: true auto_tls: enabled: false # Automatically install TLS certificates from Let's Encrypt. folder: ".cache" # folder for storing TLS certificates host: "" # which domains the Let's Encrypt will attempt grpc: enabled: false port: 50051 api: push_uri: "/api/push" stat_go_uri: "/api/stat/go" stat_app_uri: "/api/stat/app" config_uri: "/api/config" sys_stat_uri: "/sys/stats" metric_uri: "/metrics" android: enabled: true apikey: "YOUR_API_KEY" max_retry: 0 # resend fail notification, default value zero is disabled ios: enabled: false key_path: "key.pem" password: "" # certificate password, default as empty string. production: false max_retry: 0 # resend fail notification, default value zero is disabled log: format: "string" # string or json access_log: "stdout" # stdout: output to console, or define log path like "log/access_log" access_level: "debug" error_log: "stderr" # stderr: output to console, or define log path like "log/error_log" error_level: "error" hide_token: true stat: engine: "memory" # support memory, redis, boltdb, buntdb or leveldb redis: addr: "localhost:6379" password: "" db: 0 boltdb: path: "bolt.db" bucket: "gorush" buntdb: path: "bunt.db" leveldb: path: "level.db"