Esempio n. 1
0
func (s *SqsSimpleTestSuite) SetUpSuite(c *gocheck.C) {
	auth := aws.Auth{"abc", "123"}
	s.sqs = sqs.New(auth, aws.Region{SQSEndpoint: "http://sqs.us-east-1.amazonaws.com"})
	qName := fmt.Sprintf("testqueue%v", time.Now())
	fmt.Println(qName)
}
Esempio n. 2
0
func (s *BatchSuite) SetUpTest(c *C) {
	fmt.Println("setUp")
	auth := aws.Auth{"abc", "123"}
	s.sqs = sqs.New(auth, aws.Region{SQSEndpoint: "http://sqs.us-east-1.amazonaws.com"})
}