sigv4

package
v0.0.0-...-a1dc441 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2025 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Overview

Package sigv4 is responsible to for aws sigv4 signing of requests

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Region             string
	AwsAccessKeyID     string
	AwsSecretAccessKey string
}

Config holds aws access configurations

type Tripper

type Tripper struct {
	// contains filtered or unexported fields
}

Tripper signs each request with sigv4

func NewRoundTripper

func NewRoundTripper(config *Config, next http.RoundTripper) (*Tripper, error)

NewRoundTripper creates a new sigv4 round tripper

func (*Tripper) RoundTrip

func (c *Tripper) RoundTrip(req *http.Request) (*http.Response, error)

RoundTrip implements the tripper interface for sigv4 signing of requests

Jump to

Keyboard shortcuts

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