Files
threshold/internal/oplog/replayable.go
T
34f530e0df Basic oplog capability (#6)
The ability to write oplog entries using a ticket based system to ensure serialization.   Uses a go-kms-wrapper for encrypting/decrypting entries.

Co-authored-by: Jim Lambert <jlm.lambert@gmail.com>
Co-authored-by: Michael Gaffney <mgaffney@users.noreply.github.com>
Co-authored-by: Todd Knight <T.Alan.Knight@gmail.com>
Co-authored-by: Jeff Mitchell <jeffrey.mitchell@gmail.com>
2020-04-08 14:55:40 -04:00

9 lines
253 B
Go

package oplog
// Replayable defines an interface for messages that can be replayed from the oplog entries. we need to be
// able to replay into different table names.
type ReplayableMessage interface {
TableName() string
SetTableName(name string)
}