gxthrj commented on a change in pull request #251:
URL: 
https://github.com/apache/incubator-apisix-dashboard/pull/251#discussion_r438595004



##########
File path: api/conf/conf.go
##########
@@ -0,0 +1,91 @@
+package conf
+
+import (
+       "fmt"
+       "github.com/tidwall/gjson"
+       "io/ioutil"
+       "os"
+       "path/filepath"
+       "runtime"
+)
+
+const ServerPort = 8080
+const PROD = "prod"
+const BETA = "beta"
+const DEV = "dev"
+const LOCAL = "local"
+const TimeLayout = "2006-01-02 15:04:05"
+const TimeTLayout = "2006-01-02T15:04:05"
+const DateLayout = "2006-01-02"
+const confPath = "/root/api7-manager-api/conf.json"
+const RequestId = "requestId"
+
+var (
+       ENV      string
+       basePath string
+       ApiKey   = "edd1c9f034335f136f87ad84b625c8f1"
+       BaseUrl  = "http://127.0.0.1:9080/apisix/admin";

Review comment:
       yes,it will be coveredĀ in runtime




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to