diff options
| author | 2026-03-29 03:39:18 +0000 | |
|---|---|---|
| committer | 2026-03-29 03:39:18 +0000 | |
| commit | 7a93df9ab78c3d0823248d0fb051b0cc85edd85d (patch) | |
| tree | aba32ae47d6030e573b691e1a7aa314ff0ec4a72 /network/protocol/v0v1/server | |
| parent | network/protocol/v0v1/server: Add contract labels (diff) | |
| signature | No signature | |
network/protocol: Add more contract labels
Diffstat (limited to 'network/protocol/v0v1/server')
| -rw-r--r-- | network/protocol/v0v1/server/receivepack/session.go | 2 | ||||
| -rw-r--r-- | network/protocol/v0v1/server/session.go | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/network/protocol/v0v1/server/receivepack/session.go b/network/protocol/v0v1/server/receivepack/session.go index 31cf31f6..259955ac 100644 --- a/network/protocol/v0v1/server/receivepack/session.go +++ b/network/protocol/v0v1/server/receivepack/session.go @@ -17,6 +17,8 @@ type Session struct { } // NewSession creates one receive-pack session over one common server session. +// +// Labels: Deps-Borrowed. func NewSession(base *common.Session, supported Capabilities) *Session { return &Session{ base: base, diff --git a/network/protocol/v0v1/server/session.go b/network/protocol/v0v1/server/session.go index 7fc89157..bdc2d785 100644 --- a/network/protocol/v0v1/server/session.go +++ b/network/protocol/v0v1/server/session.go @@ -27,6 +27,8 @@ type Session struct { } // NewSession creates one v0/v1 server session over r and w. +// +// Labels: Deps-Borrowed. func NewSession(r io.Reader, w iowrap.WriteFlusher, opts Options) *Session { return &Session{ dec: pktline.NewDecoder(r, pktline.ReadOptions{}), |
