signer

package
v0.0.0-...-cc4ef14 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

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)

Jump to

Keyboard shortcuts

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