Files
mesh-catalog/modules/nats/cmd/mesh-nats-snapshot/bussnap.go
T
jschoubben 6d45f3ef58 A-125: the bus module imports mesh-sdk's bussnap and busarchive, its copies deleted
The take and restore of one stream is shared code in mesh-sdk; the bus module's keeper, its
nightly dump and its tools import it from there and keep no copy.

Builds: design 47 G §655, A-125

Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
2026-11-12 01:26:38 +01:00

23 lines
529 B
Go

package main
import "git.novox.be/novox/mesh-sdk/go/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
)