diff options
Diffstat (limited to 'network/protocol/sideband64k')
| -rw-r--r-- | network/protocol/sideband64k/chunk_writer.go | 2 | ||||
| -rw-r--r-- | network/protocol/sideband64k/decoder.go | 2 | ||||
| -rw-r--r-- | network/protocol/sideband64k/encoder.go | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/network/protocol/sideband64k/chunk_writer.go b/network/protocol/sideband64k/chunk_writer.go index a1a0ec8c..78c66edf 100644 --- a/network/protocol/sideband64k/chunk_writer.go +++ b/network/protocol/sideband64k/chunk_writer.go @@ -6,6 +6,8 @@ import "io" // for one fixed band. // // It never writes control packets automatically. +// +// Labels: MT-Unsafe. type ChunkWriter struct { enc *Encoder band Band diff --git a/network/protocol/sideband64k/decoder.go b/network/protocol/sideband64k/decoder.go index 6fc48cd8..e34f5d12 100644 --- a/network/protocol/sideband64k/decoder.go +++ b/network/protocol/sideband64k/decoder.go @@ -17,6 +17,8 @@ type ReadOptions struct { // // It preserves frame boundaries and supports one-frame lookahead via // PeekFrame. +// +// Labels: MT-Unsafe. type Decoder struct { dec *pktline.Decoder maxData int diff --git a/network/protocol/sideband64k/encoder.go b/network/protocol/sideband64k/encoder.go index 0c6ea090..6cdef38a 100644 --- a/network/protocol/sideband64k/encoder.go +++ b/network/protocol/sideband64k/encoder.go @@ -10,6 +10,8 @@ import ( // Encoder writes side-band-64k frames to a flush-capable output transport. // // It writes exactly one frame per method call and does not auto-chunk data. +// +// Labels: MT-Unsafe. type Encoder struct { enc *pktline.Encoder maxData int |
