Add OnPacketIDExhausted hook (#211)

This commit is contained in:
JB
2023-05-04 22:51:40 +01:00
committed by GitHub
parent 1ec880844d
commit eed3ef9606
3 changed files with 17 additions and 0 deletions

View File

@@ -241,6 +241,7 @@ func TestHooksNonReturns(t *testing.T) {
h.OnQosPublish(cl, packets.Packet{}, time.Now().Unix(), 0)
h.OnQosComplete(cl, packets.Packet{})
h.OnQosDropped(cl, packets.Packet{})
h.OnPacketIDExhausted(cl, packets.Packet{})
h.OnWillSent(cl, packets.Packet{})
h.OnClientExpired(cl)
h.OnRetainedExpired("a/b/c")