Documentation ¶
Overview ¶
Package conn contains code useful for making requests to the SimpleDB servers. It is an implementation detail and should not be used directly.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn interface { // Send the supplied request to the service, taking care of adding // appropriate authentication info. SendRequest(req Request) (resp []byte, err error) }
A connection to the SimpleDB service.
type HttpConn ¶
type HttpConn interface { // Send the supplied request to the service. SendRequest(req Request) (resp *HttpResponse, err error) }
A connection to a host over HTTP.
type HttpResponse ¶
type Request ¶
A request to the SimpleDB server, specified as key/value parameters. These include names of actions, action-specific parameters, and authentication info.
For example:
"Action": "PutAttributes", "DomainName": "some_domain", "ItemName": "some_item", "Attribute.1.Name": "color", "Attribute.1.Value": "blue", "AWSAccessKeyId": "0123456", "Signature": "some_signature",
Source Files ¶
Click to show internal directories.
Click to hide internal directories.