sign

package
v0.0.0-...-d07127f Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AccessKeyPrefix = "AccessKey"
	DateHeader      = "Date"
	DateTimeFormat  = "2006-01-02T15:04:05.000Z"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPSigner

type HTTPSigner interface {
	Sign(req *http.Request) (*http.Request, error)
}

func NewAccessKeyHTTPSigner

func NewAccessKeyHTTPSigner(sharedKey, secretKey string) (HTTPSigner, error)

NewAccessKeyHTTPSigner is a function that returns an implementation that conforms to the sign.Signer interface

Jump to

Keyboard shortcuts

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