mirror of
https://github.com/zr-hebo/sniffer-agent.git
synced 2025-10-10 15:09:19 +08:00
develop
This commit is contained in:
@@ -8,8 +8,15 @@ type handshakeResponse41 struct {
|
||||
Auth []byte
|
||||
}
|
||||
|
||||
// receiveRange record mysql package begin and end seq id
|
||||
type receiveRange struct {
|
||||
beginSeqID int64
|
||||
endSeqID int64
|
||||
// jigsaw record tcp package begin and end seq id
|
||||
type jigsaw struct {
|
||||
begin int64
|
||||
end int64
|
||||
}
|
||||
|
||||
func newJigsaw(begin, end int64) (js *jigsaw) {
|
||||
return &jigsaw{
|
||||
begin: begin,
|
||||
end: end,
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user