internal

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 16, 2026 License: MIT Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsCredentialsProvider

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

func (*AwsCredentialsProvider) Load

func (provider *AwsCredentialsProvider) Load(ctx context.Context) (aws.Credentials, error)

type CanonicalPayload

type CanonicalPayload struct {
	Channel string   `json:"channel,omitempty"`
	Payload []string `json:"events,omitempty"`
}

type CanonicalRequest

type CanonicalRequest struct{}

func (CanonicalRequest) Create

func (CanonicalRequest) Create(endpoint *url.URL, payload []byte) (*http.Request, error)

type CredentialProvider

type CredentialProvider interface {
	Load(context.Context) (aws.Credentials, error)
}

type RequestFactory

type RequestFactory interface {
	Create(*url.URL, []byte) (*http.Request, error)
}

type Signer

type Signer interface {
	Sign(context.Context, *http.Request) (app.Signature, error)
}

type Sigv4Signer

type Sigv4Signer struct {
	Provider CredentialProvider
	Region   string
	Clock    app.Clock
}

func (*Sigv4Signer) Sign

func (signer *Sigv4Signer) Sign(ctx context.Context, req *http.Request) (app.Signature, error)

Jump to

Keyboard shortcuts

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