Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bmizerany/aws4
/ functions
Functions
34 in github.com/bmizerany/aws4
⨍
Functions
34
◇
Types & classes
9
↓ 6 callers
Method
Do
(req *http.Request)
client.go:47
↓ 4 callers
Function
ghmac
(key, data []byte)
sign.go:212
↓ 3 callers
Method
Decode
(v interface{})
dydb/dydb.go:53
↓ 3 callers
Method
Query
Query executes an action with a JSON-encoded v as the body. A nil v is represented as the JSON value {}. If an error occurs while communicating with
dydb/dydb.go:84
↓ 2 callers
Method
Post
(url string, bodyType string, body io.Reader)
client.go:68
↓ 2 callers
Method
PostForm
(url string, data url.Values)
client.go:77
↓ 2 callers
Method
Sign
Sign signs an HTTP request with the given AWS keys for use on service s.
sign.go:62
↓ 2 callers
Method
TypeName
TypeName returns the error Type without the namespace.
dydb/dydb.go:36
↓ 2 callers
Method
creds
(t time.Time)
sign.go:208
↓ 2 callers
Method
writeHeaderList
(w io.Writer, r *http.Request)
sign.go:129
↓ 1 callers
Method
Exec
Exec is like Query, but discards the response. It returns the error if there was one.
dydb/dydb.go:75
↓ 1 callers
Method
Get
(url string)
client.go:52
↓ 1 callers
Function
KeysFromEnvironment
Initializes and returns a Keys using the AWS_ACCESS_KEY and AWS_SECRET_KEY environment variables.
client.go:15
↓ 1 callers
Function
Sign
Sign signs a request with a Service derived from r.Host
sign.go:49
↓ 1 callers
Method
client
()
client.go:40
↓ 1 callers
Method
sign
(s *Service, t time.Time)
sign.go:31
↓ 1 callers
Method
writeBody
(w io.Writer, r *http.Request)
sign.go:144
↓ 1 callers
Method
writeHeader
(w io.Writer, r *http.Request)
sign.go:113
↓ 1 callers
Method
writeQuery
(w io.Writer, r *http.Request)
sign.go:91
↓ 1 callers
Method
writeRequest
(w io.Writer, r *http.Request)
sign.go:177
↓ 1 callers
Method
writeStringToSign
(w io.Writer, t time.Time, r *http.Request)
sign.go:194
↓ 1 callers
Method
writeURI
(w io.Writer, r *http.Request)
sign.go:164
Function
BenchmarkSign
(b *testing.B)
bench_test.go:10
Method
Decode
(v interface{})
dydb/dydb.go:48
Method
Error
()
dydb/dydb.go:31
Function
ExampleSignGlacier
()
example_test.go:42
Function
Example_createAndListTables
()
dydb/example_test.go:13
Function
Example_formEncodedBody
()
example_test.go:28
Function
Example_jSONBody
()
example_test.go:12
Method
Head
(url string)
client.go:60
Function
IsException
IsException returns true if err is a ResponseError whos TypeName() equals name; false otherwise.
dydb/dydb.go:24
Function
Post
Post works like http.Post, but signs the request with Keys.
client.go:31
Function
PostForm
PostForm works like http.PostForm, but signs the request with Keys.
client.go:36
Function
init
()
dydb/example_test.go:9