util

package
v0.0.0-...-62049a2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL