func NewAzureClient(accountName, accountKey, blobServiceBaseUrl, apiVersion string, useHttps bool) (*AzureClient, error) {
	cli, err := storage.NewClient(accountName, accountKey, blobServiceBaseUrl, apiVersion, useHttps)
	if err != nil {
		return nil, err
	}
	return &AzureClient{
		client:     &cli,
		blobClient: cli.GetBlobService(),
	}, nil
}
// NewAzureClient function
// NewClient constructs a StorageClient and blobStorageClinet.
// This should be used if the caller wants to specify
// whether to use HTTPS, a specific REST API version or a
// custom storage endpoint than Azure Public Cloud.
// Recommended API version "2014-02-14"
// synax :
// AzurestorageAccountName, AzurestorageAccountKey, "core.chinacloudapi.cn", "2014-02-14", true
NewAzureClient function
NewClient constructs a StorageClient and blobStorageClinet.
This should be used if the caller wants to specify
whether to use HTTPS, a specific REST API version or a
custom storage endpoint than Azure Public Cloud.
Recommended API version "2014-02-14"
synax :
AzurestorageAccountName, AzurestorageAccountKey, "core.chinacloudapi.cn", "2014-02-14", true
// NewAzureClient function // NewClient constructs a StorageClient and blobStorageClinet . // This should be used if the caller wants to specify // whether to use HTTPS a specific REST API version or a // custom storage endpoint than Azure Public Cloud . // Recommended API version " 2014 - 02 - 14 " // synax : // AzurestorageAccountName AzurestorageAccountKey " core . chinacloudapi . cn " " 2014 - 02 - 14 " true
func NewAzureClient(accountName, accountKey, blobServiceBaseUrl, apiVersion string, useHttps bool) (*AzureClient, error) {
	cli, err := storage.NewClient(accountName, accountKey, blobServiceBaseUrl, apiVersion, useHttps)
	if err != nil {
		return nil, err
	}
	return &AzureClient{
		client:     &cli,
		blobClient: cli.GetBlobService(),
	}, nil
}
func NewAzureClient ( accountName , accountKey , blobServiceBaseUrl , apiVersion string , useHttps bool ) ( * AzureClient , error ) { cli , err := storage . NewClient ( accountName , accountKey , blobServiceBaseUrl , apiVersion , useHttps ) if err != nil { return nil , err } return & AzureClient { client : & cli , blobClient : cli . GetBlobService ( ) , } , nil }
NewAzureClient function
NewClient constructs a StorageClient and blobStorageClinet.
NewAzureClient function NewClient constructs a StorageClient and blobStorageClinet .