privatize publicHeader

ref #60
This commit is contained in:
Lucas Clemente
2016-05-15 15:44:14 +02:00
parent caec66b927
commit 9cc4bb3ccf
10 changed files with 89 additions and 89 deletions

View File

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