Skip to content

Commit

Permalink
Add Tencent Cloud provider
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Sheiko committed Aug 4, 2022
1 parent d974b5e commit aebea56
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ This util performs a ping to measure the network latency from your location to t
- OVH Cloud
- Scaleway
- Servers.com
- Tencent Cloud
- Vultr

## Install
Expand Down
24 changes: 24 additions & 0 deletions providers.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,30 @@ var providers = provider{
{name: "was2", location: "Washington, US"},
},
},
"tencent": {
name: "Tencent Cloud",
hostTemplate: "cos.%s.myqcloud.com",
regions: []*region{
{name: "ap-bangkok", location: "Bangkok, TH"},
{name: "ap-beijing", location: "Beijing, CN"},
{name: "ap-chengdu", location: "Chengdu, CN"},
{name: "ap-chongqing", location: "Chongqing, CN"},
{name: "ap-guangzhou", location: "Guangzhou, CN"},
{name: "ap-jakarta", location: "Jakarta, ID"},
{name: "ap-hongkong", location: "Hong Kong, CN"},
{name: "ap-mumbai", location: "Mumbai, IN"},
{name: "ap-shanghai", location: "Shanghai, CN"},
{name: "ap-seoul", location: "Seoul, KR"},
{name: "ap-tokyo", location: "Tokyo, JP"},
{name: "ap-singapore", location: "Singapore, SG"},
{name: "eu-frankfurt", location: "Frankfurt, DE"},
{name: "eu-moscow", location: "Moscow, RU"},
{name: "na-ashburn", location: "Ashburn, US"},
{name: "na-siliconvalley", location: "Silicon Valley, US"},
{name: "na-toronto", location: "Toronto, US"},
{name: "sa-saopaulo", location: "Sao Paulo, BR"},
},
},
"vultr": {
name: "Vultr",
hostTemplate: "%s-ping.vultr.com",
Expand Down

0 comments on commit aebea56

Please sign in to comment.