Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidStorageType = errors.New("invalid snapshot storage type")
View Source
var ErrNoSnapshotFound = errors.New("no snapshot found")
View Source
var ErrPendingSnapshot = errors.New("system busy capturing snapshot")
View Source
var ErrRequiredParameterMissing = errors.New("required parameter missing")
Functions ¶
This section is empty.
Types ¶
type NatsDBSnapshot ¶
type NatsDBSnapshot struct {
// contains filtered or unexported fields
}
func NewNatsDBSnapshot ¶
func NewNatsDBSnapshot(d *db.SqliteStreamDB, snapshotStorage Storage) *NatsDBSnapshot
func (*NatsDBSnapshot) RestoreSnapshot ¶
func (n *NatsDBSnapshot) RestoreSnapshot() error
func (*NatsDBSnapshot) SaveSnapshot ¶
func (n *NatsDBSnapshot) SaveSnapshot() error
type NatsSnapshot ¶
Click to show internal directories.
Click to hide internal directories.