Debian Codegraph @

cdn/client_test.go

raw symbols SCIP
1 package cdn
2
3 import (
4 "os"
5 )
6
7 /*
8 Set your AccessKeyId and AccessKeySecret in env
9 simply use the command below
10 AccessKeyId=YourAccessKeyId AccessKeySecret=YourAccessKeySecret go test
11 */
12 var (
13 AccessKeyId = os.Getenv("AccessKeyId")
14 AccessKeySecret = os.Getenv("AccessKeySecret")
15 )
16
17 func NewTestClient() *CdnClient {
18 client := NewClient(AccessKeyId, AccessKeySecret)
19 return client
20 }