Example #1
0
func (s *S) SetUpSuite(c *C) {
	testServer.Start()
	auth := aws.Auth{"abc", "123"}
	s.sdb = sdb.New(auth, aws.Region{SDBEndpoint: testServer.URL})
}
Example #2
0
func NewSDBTable(auth *aws.Auth, region *aws.Region, domain string) *SDBTable {
	t := &SDBTable{}
	t.s = sdb.New(*auth, *region)
	t.domain = t.s.Domain(domain)
	return t
}