MCPcopy
hub / github.com/benbjohnson/litestream / transientOpenFailureClient

Struct transientOpenFailureClient

replica_test.go:279–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277}
278
279type transientOpenFailureClient struct {
280 litestream.ReplicaClient
281 remainingFailures int
282 openCount int
283}
284
285func (c *transientOpenFailureClient) OpenLTXFile(ctx context.Context, level int, minTXID, maxTXID ltx.TXID, offset, size int64) (io.ReadCloser, error) {
286 c.openCount++

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected