diff options
| author | Kyren223 <ulmliad223@gmail.com> | 2024-10-24 20:06:04 +0300 |
|---|---|---|
| committer | Kyren223 <ulmliad223@gmail.com> | 2024-10-24 20:06:04 +0300 |
| commit | d294b53e68f02f4aae98fc3f2133c7696706bf0b (patch) | |
| tree | 7072187c5f8034514e0f115661bae00c10ea328c /internal/packet/packet.go | |
| parent | a7f743f035d0f0d14400027e4781cad76503085a (diff) | |
chore: add docs
Diffstat (limited to 'internal/packet/packet.go')
| -rw-r--r-- | internal/packet/packet.go | 1 |
1 files changed, 1 insertions, 0 deletions
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: |
