diff options
Diffstat (limited to 'internal/net')
| -rw-r--r-- | internal/net/conn.go | 3 | ||||
| -rw-r--r-- | internal/net/server.go | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/internal/net/conn.go b/internal/net/conn.go index a7c53ec..2a250d8 100644 --- a/internal/net/conn.go +++ b/internal/net/conn.go @@ -1,3 +1,6 @@ +// Package net implements the server transports: telnet, telnet-over-TLS, +// and the WebSocket bridge for the web client, plus the shared Session type. +// It must not be confused with the standard library net package. package net import ( diff --git a/internal/net/server.go b/internal/net/server.go index dd65f6e..eed5486 100644 --- a/internal/net/server.go +++ b/internal/net/server.go @@ -146,7 +146,7 @@ const ( closeFlushTimeout = 2 * time.Second ) -// startWriter puts the session into queued mode: writes are enqueued and a +// StartWriter puts the session into queued mode: writes are enqueued and a // dedicated goroutine drains the queue to the network with per-message write // deadlines. The goroutine exits after Close() — draining whatever was // queued first — and closes the transport, so a Close() during shutdown |
