From d294b53e68f02f4aae98fc3f2133c7696706bf0b Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Thu, 24 Oct 2024 20:06:04 +0300 Subject: chore: add docs --- internal/packet/packet.go | 1 + 1 file changed, 1 insertion(+) (limited to 'internal/packet') diff --git a/internal/packet/packet.go b/internal/packet/packet.go index 9365d93..9d84486 100644 --- a/internal/packet/packet.go +++ b/internal/packet/packet.go @@ -77,6 +77,7 @@ func (e PacketType) IsSupported() bool { } } +// True for all packets that a server may push passively to the client. func (e PacketType) IsPush() bool { switch e { case PacketError, PacketSendMessage: -- cgit v1.3.1