cmd: Move replication logic to separate file.

This commit is contained in:
Christian Schwarz
2017-05-20 17:08:18 +02:00
parent 7ad2ed5956
commit 40fe7e643d
4 changed files with 256 additions and 230 deletions
+11
View File
@@ -59,6 +59,17 @@ type ByteStreamRPCProtocolVersionRequest struct {
ClientVersion uint8
}
const LOCAL_TRANSPORT_IDENTITY string = "local"
const DEFAULT_INITIAL_REPL_POLICY = InitialReplPolicyMostRecent
type InitialReplPolicy string
const (
InitialReplPolicyMostRecent InitialReplPolicy = "most_recent"
InitialReplPolicyAll InitialReplPolicy = "all"
)
type CloseRequest struct {
Goodbye string
}