CdnClient
Last Updated:2020-09-17
Create CdnClien
Access to CDN via AK/SK
func GetDefaultClient() *cdn.Client { 
	 ak := "your_access_key_id" 
	 sk := "your_secret_key_id" 
	 endpoint := "https://cdn.baidubce.com" 
	
	 // ignore error in test, but you should handle error in dev 
	 client, _ := cdn.NewClient(ak, sk, endpoint) 
	 return client 
} The above-mentioned code snippet displays how to create a cdn.Client object, and the user must specify AK/SK at first and use https: //cdn.baidubce.comfor endpoint.
