use cache reduce malloc

This commit is contained in:
hebo
2019-09-09 21:36:18 +08:00
parent 3294a0fc5f
commit 4086028217
12 changed files with 280 additions and 169 deletions

View File

@@ -4,4 +4,5 @@ import "github.com/zr-hebo/sniffer-agent/model"
type ConnSession interface {
ReceiveTCPPacket(*model.TCPPacket)
Close()
}