signature

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SignatureV4Config

type SignatureV4Config struct {
	Region      string
	Service     string
	Method      string
	Host        string
	Path        string
	Querystring string
	Body        []byte
}

SignatureV4Config is config for SignatureV4

type Signer

type Signer interface {
	SetSignatureV4Header(header http.Header, config SignatureV4Config) error
}

Signer defines the methods required for signature

func New

func New(accessKeyID, secretAccessKey string) Signer

New initializes signer that meets Signer interface

Jump to

Keyboard shortcuts

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