Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func VerifyRequestSignature ¶
func VerifyRequestSignature(pr *ParsedRequest, as auth.CredentialsHandler) *s3errors.S3Error
Types ¶
type ParsedRequest ¶
type ParsedRequest struct {
Method string
Url url.URL
Algorithm string
Scope string
AccessKey string
SignedHeaders []string
Signature string
Region string
ScopeDate string
Body []byte
RR *http.Request
AuthBackend auth.CredentialsHandler
StorageBackend storage.StorageHandler
}
func NewParsedRequest ¶
func NewParsedRequest(r *http.Request) (*ParsedRequest, *s3errors.S3Error)
Click to show internal directories.
Click to hide internal directories.