コード例 #1
0
ファイル: sdb_test.go プロジェクト: Rudloff/platform
func (s *S) SetUpSuite(c *C) {
	testServer.Start()
	auth := aws.Auth{AccessKey: "abc", SecretKey: "123"}
	s.sdb = sdb.New(auth, aws.Region{SDBEndpoint: testServer.URL})
}
コード例 #2
0
ファイル: sdb_test.go プロジェクト: aalness/goamz
func (s *S) SetUpSuite(c *C) {
	testServer.Start()
	auth := aws.NewAuth("abc", "123", "", time.Time{})
	s.sdb = sdb.New(auth, aws.Region{SDBEndpoint: testServer.URL})
}