aboutsummaryrefslogtreecommitdiff
path: root/network/protocol/pktline
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-29 03:46:47 +0000
committerGravatar Runxi Yu2026-03-29 03:46:47 +0000
commit95e5a88404083597340fd76d9e83707f45103bf9 (patch)
tree0d96476992496d8d679bda9db29baf708862554b /network/protocol/pktline
parentnetwork/protocol: Deps-Borrowed where appropriate (diff)
signatureNo signature
network/protocol: Constructors get Life-Parent too
Diffstat (limited to 'network/protocol/pktline')
-rw-r--r--network/protocol/pktline/chunk_writer.go2
-rw-r--r--network/protocol/pktline/decoder.go2
-rw-r--r--network/protocol/pktline/encoder.go2
3 files changed, 3 insertions, 3 deletions
diff --git a/network/protocol/pktline/chunk_writer.go b/network/protocol/pktline/chunk_writer.go
index 5c637700..3c9d409a 100644
--- a/network/protocol/pktline/chunk_writer.go
+++ b/network/protocol/pktline/chunk_writer.go
@@ -10,7 +10,7 @@ type ChunkWriter struct {
// NewChunkWriter creates a chunking adapter over enc.
//
-// Labels: Deps-Borrowed.
+// Labels: Deps-Borrowed, Life-Parent.
func NewChunkWriter(enc *Encoder) *ChunkWriter {
return &ChunkWriter{enc: enc}
}
diff --git a/network/protocol/pktline/decoder.go b/network/protocol/pktline/decoder.go
index 7492994e..15cab63d 100644
--- a/network/protocol/pktline/decoder.go
+++ b/network/protocol/pktline/decoder.go
@@ -29,7 +29,7 @@ type Decoder struct {
// NewDecoder creates a decoder over r.
//
-// Labels: Deps-Borrowed.
+// Labels: Deps-Borrowed, Life-Parent.
func NewDecoder(r io.Reader, opts ReadOptions) *Decoder {
return &Decoder{
r: r,
diff --git a/network/protocol/pktline/encoder.go b/network/protocol/pktline/encoder.go
index dac3293e..ab8bb823 100644
--- a/network/protocol/pktline/encoder.go
+++ b/network/protocol/pktline/encoder.go
@@ -17,7 +17,7 @@ type Encoder struct {
// NewEncoder creates an encoder over w.
//
-// Labels: Deps-Borrowed.
+// Labels: Deps-Borrowed, Life-Parent.
func NewEncoder(w iowrap.WriteFlusher) *Encoder {
return &Encoder{
w: w,