Files
threshold/internal/oplog/replayable.go
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
437 B
Go
Raw Normal View History

2023-02-02 17:15:17 -08:00
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
2023-02-02 17:15:17 -08:00
2020-04-08 14:55:40 -04:00
package oplog
// ReplayableMessage defines an interface for messages that can be replayed from
// the oplog entries. we need to be able to replay into different table names.
2020-04-08 14:55:40 -04:00
type ReplayableMessage interface {
// TableName returns the table name of the resource
2020-04-08 14:55:40 -04:00
TableName() string
// SetTableName sets the table name of the resource
2020-04-08 14:55:40 -04:00
SetTableName(name string)
}