Documentation ¶
Index ¶
- type AddTimeOffsetMiddleware
- func (m AddTimeOffsetMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) (out middleware.BuildOutput, metadata middleware.Metadata, err error)
- func (m *AddTimeOffsetMiddleware) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, ...) (out middleware.DeserializeOutput, metadata middleware.Metadata, err error)
- func (m *AddTimeOffsetMiddleware) ID() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddTimeOffsetMiddleware ¶
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 ¶
func (m AddTimeOffsetMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( out middleware.BuildOutput, metadata middleware.Metadata, err error, )
HandleBuild sets a value for attemptSkew on the request context if one is set on the client.
func (*AddTimeOffsetMiddleware) HandleDeserialize ¶
func (m *AddTimeOffsetMiddleware) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, )
HandleDeserialize gets the clock skew context from the context, and if set, sets it on the pointer held by AddTimeOffsetMiddleware
func (*AddTimeOffsetMiddleware) ID ¶
func (m *AddTimeOffsetMiddleware) ID() string
ID the identifier for AddTimeOffsetMiddleware
Click to show internal directories.
Click to hide internal directories.