aboutsummaryrefslogtreecommitdiff
path: root/network/protocol/sideband64k/band.go
diff options
context:
space:
mode:
Diffstat (limited to 'network/protocol/sideband64k/band.go')
-rw-r--r--network/protocol/sideband64k/band.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/network/protocol/sideband64k/band.go b/network/protocol/sideband64k/band.go
new file mode 100644
index 00000000..73c61fd8
--- /dev/null
+++ b/network/protocol/sideband64k/band.go
@@ -0,0 +1,13 @@
+package sideband64k
+
+// Band identifies the sideband stream within a pkt-line data frame.
+type Band uint8
+
+const (
+ // BandData carries primary payload bytes.
+ BandData Band = 1
+ // BandProgress carries progress or informational messages.
+ BandProgress Band = 2
+ // BandError carries fatal error messages.
+ BandError Band = 3
+)