endpoint.go 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. package edas
  2. // EndpointMap Endpoint Data
  3. var EndpointMap map[string]string
  4. // EndpointType regional or central
  5. var EndpointType = "regional"
  6. // GetEndpointMap Get Endpoint Data Map
  7. func GetEndpointMap() map[string]string {
  8. if EndpointMap == nil {
  9. EndpointMap = map[string]string{
  10. "cn-shanghai-internal-test-1": "edas.aliyuncs.com",
  11. "cn-beijing-gov-1": "edas.aliyuncs.com",
  12. "cn-shenzhen-su18-b01": "edas.aliyuncs.com",
  13. "ap-south-1": "edas.ap-northeast-1.aliyuncs.com",
  14. "cn-shanghai-inner": "edas.aliyuncs.com",
  15. "cn-shenzhen-st4-d01": "edas.aliyuncs.com",
  16. "cn-haidian-cm12-c01": "edas.aliyuncs.com",
  17. "cn-hangzhou-internal-prod-1": "edas.aliyuncs.com",
  18. "cn-yushanfang": "edas.aliyuncs.com",
  19. "cn-hongkong-finance-pop": "edas.aliyuncs.com",
  20. "cn-qingdao-nebula": "edas.aliyuncs.com",
  21. "cn-shanghai-finance-1": "edas.aliyuncs.com",
  22. "cn-beijing-finance-pop": "edas.aliyuncs.com",
  23. "cn-wuhan": "edas.aliyuncs.com",
  24. "us-west-1": "edas.ap-northeast-1.aliyuncs.com",
  25. "cn-zhengzhou-nebula-1": "edas.aliyuncs.com",
  26. "rus-west-1-pop": "edas.ap-northeast-1.aliyuncs.com",
  27. "cn-shanghai-et15-b01": "edas.aliyuncs.com",
  28. "cn-hangzhou-bj-b01": "edas.aliyuncs.com",
  29. "eu-west-1": "edas.ap-northeast-1.aliyuncs.com",
  30. "cn-hangzhou-internal-test-1": "edas.aliyuncs.com",
  31. "eu-west-1-oxs": "edas.ap-northeast-1.aliyuncs.com",
  32. "cn-zhangbei-na61-b01": "edas.aliyuncs.com",
  33. "cn-beijing-finance-1": "edas.aliyuncs.com",
  34. "cn-hangzhou-internal-test-3": "edas.aliyuncs.com",
  35. "cn-hangzhou-internal-test-2": "edas.aliyuncs.com",
  36. "cn-shenzhen-finance-1": "edas.aliyuncs.com",
  37. "me-east-1": "edas.ap-northeast-1.aliyuncs.com",
  38. "cn-chengdu": "edas.aliyuncs.com",
  39. "cn-hangzhou-test-306": "edas.aliyuncs.com",
  40. "cn-shanghai-et2-b01": "edas.aliyuncs.com",
  41. "cn-hangzhou-finance": "edas.aliyuncs.com",
  42. "cn-beijing-nu16-b01": "edas.aliyuncs.com",
  43. "cn-edge-1": "edas.aliyuncs.com",
  44. "ap-southeast-3": "edas.ap-northeast-1.aliyuncs.com",
  45. "cn-huhehaote": "edas.aliyuncs.com",
  46. "ap-southeast-5": "edas.ap-northeast-1.aliyuncs.com",
  47. "cn-fujian": "edas.aliyuncs.com",
  48. "ap-northeast-2-pop": "edas.ap-northeast-1.aliyuncs.com",
  49. "cn-shenzhen-inner": "edas.aliyuncs.com",
  50. "cn-zhangjiakou-na62-a01": "edas.aliyuncs.com",
  51. }
  52. }
  53. return EndpointMap
  54. }
  55. // GetEndpointType Get Endpoint Type Value
  56. func GetEndpointType() string {
  57. return EndpointType
  58. }