Documentation ¶
Overview ¶
Provide AWS signature and other AWS-specific auth functions.
This package is internalized because we don't want to have the interface of methodology such as request signing to have to be solidified to external users of dynago yet, and so we can iterate rapidly on this.
Index ¶
Constants ¶
View Source
const DynamoTargetPrefix = "DynamoDB_20120810." // This is the Dynamo API version we support
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequestMaker ¶
type RequestMaker struct { // These are required to be set Endpoint string Signer Signer BuildError func(*http.Request, []byte, *http.Response, []byte) error // These can be optionally set Caller http.Client DebugRequests bool DebugResponses bool DebugFunc func(string, ...interface{}) }
RequestMaker is the default AwsRequester used by Dynago.
The RequestMaker has its properties exposed as public to allow easier construction. Directly modifying properties on the RequestMaker after construction is not goroutine-safe so it should be avoided except for in special cases (testing, mocking).
func (*RequestMaker) MakeRequest ¶
func (r *RequestMaker) MakeRequest(target string, body []byte) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.