summaryrefslogtreecommitdiff
path: root/internal/packet
diff options
context:
space:
mode:
Diffstat (limited to 'internal/packet')
-rw-r--r--internal/packet/protocol.md1
-rw-r--r--internal/packet/types.go3
2 files changed, 2 insertions, 2 deletions
diff --git a/internal/packet/protocol.md b/internal/packet/protocol.md
index 6a50475..f013196 100644
--- a/internal/packet/protocol.md
+++ b/internal/packet/protocol.md
@@ -34,6 +34,7 @@ The first time a connection is established, the following packets are exchanged.
- If the client sends any other type of packet, or the boolean is false, the server may close the connection
After the handshake, the client may send any unauthenticated packets.
+And the server may stream any additional packets.
### Authentication
diff --git a/internal/packet/types.go b/internal/packet/types.go
index 156fa5f..213e5ce 100644
--- a/internal/packet/types.go
+++ b/internal/packet/types.go
@@ -8,8 +8,7 @@ import (
)
type Error struct {
- Error string
- PktType PacketType
+ Error string
}
func (m *Error) Type() PacketType {