middleware

package
v1.32.7 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddTimeOffsetMiddleware

type AddTimeOffsetMiddleware struct {
	Offset *atomic.Int64
}

AddTimeOffsetMiddleware sets a value representing clock skew on the request context. This can be read by other operations (such as signing) to correct the date value they send on the request

func (AddTimeOffsetMiddleware) HandleBuild

HandleBuild sets a value for attemptSkew on the request context if one is set on the client.

func (*AddTimeOffsetMiddleware) HandleDeserialize

HandleDeserialize gets the clock skew context from the context, and if set, sets it on the pointer held by AddTimeOffsetMiddleware

func (*AddTimeOffsetMiddleware) ID

ID the identifier for AddTimeOffsetMiddleware

Jump to

Keyboard shortcuts

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