From 272d5e505e4bf7a05394add1beca94a35bfa0b04 Mon Sep 17 00:00:00 2001 From: bad Date: Sat, 16 Oct 2021 23:58:47 +0200 Subject: [PATCH] Combine 4 TODOs into one --- session/packetVisitors.go | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/session/packetVisitors.go b/session/packetVisitors.go index 620a89b..cf59deb 100644 --- a/session/packetVisitors.go +++ b/session/packetVisitors.go @@ -76,18 +76,20 @@ func (s *Session) VisitPing(p packets.PingreqPacket) { s.Connection.sendPacket(packets.PingrespPacket{}) } + +//TODO implement QoSLevel 2 func (s *Session) VisitPubackPacket(_ packets.PubackPacket) { - panic("not implemented") // TODO: Implement + panic("not implemented") } func (s *Session) VisitPubrecPacket(_ packets.PubrecPacket) { - panic("not implemented") // TODO: Implement + panic("not implemented") } func (s *Session) VisitPubrelPacket(_ packets.PubrelPacket) { - panic("not implemented") // TODO: Implement + panic("not implemented") } func (s *Session) VisitPubcompPacket(_ packets.PubcompPacket) { - panic("not implemented") // TODO: Implement + panic("not implemented") }