mirror of
https://github.com/hanzoai/traces.git
synced 2026-10-30 18:20:41 +00:00
* update otel * update otel-collector-contrib * rollback upgrade of jaegerreceiver and kafkareceiver * fix go.sum * update opentelemetry-collector-contrib and jaegertracing * fix factory initialization * fix e2e * use the new jaeger definitions * fix factory initialization for otelexporter * use proper prefix * fix metric matcher for integration tests * changelog
22 lines
500 B
Go
22 lines
500 B
Go
package http
|
|
|
|
import (
|
|
"context"
|
|
|
|
smithy "github.com/aws/smithy-go"
|
|
"github.com/aws/smithy-go/auth"
|
|
)
|
|
|
|
// AuthScheme defines an HTTP authentication scheme.
|
|
type AuthScheme interface {
|
|
SchemeID() string
|
|
IdentityResolver(auth.IdentityResolverOptions) auth.IdentityResolver
|
|
Signer() Signer
|
|
}
|
|
|
|
// Signer defines the interface through which HTTP requests are supplemented
|
|
// with an Identity.
|
|
type Signer interface {
|
|
SignRequest(context.Context, *Request, auth.Identity, smithy.Properties) error
|
|
}
|