1package sample 2 3const ( 4 // Sample code's env configuration. You need to specify them with the actual configuration if you want to run sample code 5 endpoint string = "<endpoint>" 6 accessID string = "<AccessKeyId>" 7 accessKey string = "<AccessKeySecret>" 8 bucketName string = "<my-bucket>" 9 kmsID string = "<KmsID>" 10 11 // The cname endpoint 12 // These information are required to run sample/cname_sample 13 endpoint4Cname string = "<endpoint>" 14 accessID4Cname string = "<AccessKeyId>" 15 accessKey4Cname string = "<AccessKeySecret>" 16 bucketName4Cname string = "<my-cname-bucket>" 17 18 // The object name in the sample code 19 objectKey string = "my-object" 20 21 // The local files to run sample code. 22 localFile string = "src/sample/BingWallpaper-2015-11-07.jpg" 23 htmlLocalFile string = "src/sample/The Go Programming Language.html" 24 newPicName string = "src/sample/NewBingWallpaper-2015-11-07.jpg" 25) 26