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
23 lines
529 B
Go
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
|
|
)
|