aboutsummaryrefslogtreecommitdiff
path: root/protocol/v0v1/server/version.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-25 16:22:03 +0000
committerGravatar Runxi Yu2026-03-25 16:22:03 +0000
commit311edcd50f3a84f4b860bde3cb887451d74eaa11 (patch)
treebe7aa5e9a51e636358f33b1c90637b5024b70dc3 /protocol/v0v1/server/version.go
parentREADME: Split off contrib, benchmarks, remove history for now I guess, etc. (diff)
signatureNo signature
network/protocol: Rename from protocol v0.1.110
Diffstat (limited to 'protocol/v0v1/server/version.go')
-rw-r--r--protocol/v0v1/server/version.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/protocol/v0v1/server/version.go b/protocol/v0v1/server/version.go
deleted file mode 100644
index 23ae9466..00000000
--- a/protocol/v0v1/server/version.go
+++ /dev/null
@@ -1,12 +0,0 @@
-package server
-
-// Version identifies the protocol version used on one v0/v1 server session.
-type Version uint8
-
-const (
- // Version0 is the original protocol framing with no leading version line.
- Version0 Version = iota
- // Version1 is protocol v1, which is v0 plus one leading "version 1\n"
- // pkt-line before ref advertisement.
- Version1
-)