privatize session.handlePacket

ref #60
This commit is contained in:
Lucas Clemente
2016-05-15 18:48:11 +02:00
parent ce1f7b2aaf
commit 028615b8f0
4 changed files with 9 additions and 9 deletions

View File

@@ -18,7 +18,7 @@ type mockSession struct {
packetCount int
}
func (s *mockSession) HandlePacket(addr interface{}, hdr *publicHeader, data []byte) {
func (s *mockSession) handlePacket(addr interface{}, hdr *publicHeader, data []byte) {
s.packetCount++
}