Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Default

type Default struct{}

func (*Default) Sign

func (d *Default) Sign(req *request.Request, bucket, path string, expires time.Time) (string, error)

type Google

type Google struct {
	AccessID        string
	SecretAccessKey string
}

func (*Google) Sign

func (g *Google) Sign(req *request.Request, bucket, path string, expires time.Time) (string, error)

type V2Signer

type V2Signer struct {
	Request     *http.Request
	ExpireTime  time.Duration
	Credentials *credentials.Credentials
	Debug       aws.LogLevelType
	Logger      aws.Logger
	Bucket      string
}

func (V2Signer) Sign

func (v2 V2Signer) Sign(req *request.Request)