Documentation
¶
Overview ¶
Package libsqlcompat contains the pinned HTTP v2 driver with bounded detached stream cleanup. See NOTICE and UPSTREAM.json for its source and local changes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HTTPStatus ¶
HTTPStatus preserves an actual provider response status for the engine's stage-aware retry policy. It does not imply that a write was rejected.
func IsIncompleteAcknowledgement ¶
IsIncompleteAcknowledgement preserves ordinary read retries when a known transport error interrupted the body. It never authorizes replay of a write.
func IsInvalidAcknowledgement ¶
IsInvalidAcknowledgement distinguishes a received malformed success from a definite rejection. An issued write may already have committed in this case.
Types ¶
type Opener ¶
type Opener struct {
// contains filtered or unexported fields
}
Opener shares a bounded detached-cleanup manager across one database's connections. Use a separate opener for each database/sql pool.
func (*Opener) CleanupStats ¶
func (o *Opener) CleanupStats() httpv2.CleanupStats