skhatri/api-router-go

View on GitHub
router.json

Summary

Maintainability
Test Coverage
{
  "response-headers": {
    "x-served-by": "Api-Router-Go",
    "access-control-allow-origin": "http://localhost:5000",
    "access-control-allow-methods": "GET, POST, OPTIONS",
    "access-control-allow-headers": "X-Auth-Token, Content-Type, X-Client-Id, Authorization",
    "access-control-allow-credentials": "false",
    "access-control-max-age": "7200",
    "content-type": "application/json;charset=utf-8"
  },
  "static": {
    "source": ""
  },
  "options": {
    "log-request": true
  },
  "variables": {
    "service_a_url": "http://localhost:7999"
  },
  "toggles": {
    "read-mode": true,
    "write-mode": false
  },
  "transport": {
    "port": 6100,
    "tls": {
      "enabled": false,
      "private-key": "private.key",
      "public-key": "cert.pem"
    }
  },
  "app": {

  }
}