Revertsbbd9f638,c2e017a4and b6884796; cmd/mesh-nats-snapshot/restore.go is as before them. The manifest test asserts the claim serves only the reading verbs and the keeper's state is asked, requests, spent. Builds: design 47 G §554, §555 Claude-Session: https://claude.ai/code/session_01JG73KEq4zoDfM9WtYpcQgZ
23 lines
518 B
Go
23 lines
518 B
Go
package main
|
|
|
|
import "nats-tools/internal/bussnap"
|
|
|
|
// The snapshot itself is bussnap's, which the keeper takes one entry's with too (design 25 § 12.3).
|
|
type (
|
|
SnapshotOptions = bussnap.SnapshotOptions
|
|
apiError = bussnap.APIError
|
|
streamState = bussnap.StreamState
|
|
)
|
|
|
|
var (
|
|
Snapshot = bussnap.Snapshot
|
|
StreamNames = bussnap.StreamNames
|
|
request = bussnap.Request
|
|
truncate = bussnap.Truncate
|
|
)
|
|
|
|
const (
|
|
apiStreamInfo = bussnap.APIStreamInfo
|
|
apiStreamRestore = bussnap.APIStreamRestore
|
|
)
|