mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-05-14 00:51:12 +03:00
26 lines
755 B
Go
26 lines
755 B
Go
package cloudflare
|
|
|
|
const (
|
|
ApiUrl = "https://api.cloudflareclient.com"
|
|
ApiVersion = "v0a4471"
|
|
ConnectSNI = "consumer-masque.cloudflareclient.com"
|
|
// unused for now
|
|
ZeroTierSNI = "zt-masque.cloudflareclient.com"
|
|
ConnectURI = "https://cloudflareaccess.com"
|
|
DefaultModel = "PC"
|
|
KeyTypeWg = "curve25519"
|
|
TunTypeWg = "wireguard"
|
|
KeyTypeMasque = "secp256r1"
|
|
TunTypeMasque = "masque"
|
|
DefaultLocale = "en_US"
|
|
DefaultEndpointH2V4 = "162.159.198.2"
|
|
DefaultEndpointH2V6 = ""
|
|
)
|
|
|
|
var Headers = map[string]string{
|
|
"User-Agent": "WARP for Android",
|
|
"CF-Client-Version": "a-6.35-4471",
|
|
"Content-Type": "application/json; charset=UTF-8",
|
|
"Connection": "Keep-Alive",
|
|
}
|