mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-09-20 14:56:20 +08:00
7fd6a74e0c
Co-authored-by: Josh Zhang <jzhang1@stackoverflow.com>
28 lines
923 B
Go
28 lines
923 B
Go
package cloudflare
|
|
|
|
// RouteRoot represents the name of the route namespace.
|
|
type RouteRoot string
|
|
|
|
const (
|
|
defaultScheme = "https"
|
|
defaultHostname = "api.cloudflare.com"
|
|
defaultBasePath = "/client/v4"
|
|
userAgent = "cloudflare-go"
|
|
|
|
// AccountRouteRoot is the accounts route namespace.
|
|
AccountRouteRoot RouteRoot = "accounts"
|
|
|
|
// ZoneRouteRoot is the zones route namespace.
|
|
ZoneRouteRoot RouteRoot = "zones"
|
|
|
|
originCARootCertEccURL = "https://developers.cloudflare.com/ssl/static/origin_ca_ecc_root.pem"
|
|
originCARootCertRsaURL = "https://developers.cloudflare.com/ssl/static/origin_ca_rsa_root.pem"
|
|
|
|
// Used for testing.
|
|
testAccountID = "01a7362d577a6c3019a474fd6f485823"
|
|
testZoneID = "d56084adb405e0b7e32c52321bf07be6"
|
|
testUserID = "a81be4e9b20632860d20a64c054c4150"
|
|
testCertPackUUID = "a77f8bd7-3b47-46b4-a6f1-75cf98109948"
|
|
testTunnelID = "f174e90a-fafe-4643-bbbc-4a0ed4fc8415"
|
|
)
|