.
This commit is contained in:
parent
49eddff2e5
commit
231fe4cb66
|
@ -3,8 +3,8 @@ package pgsql
|
|||
import (
|
||||
"bytes"
|
||||
"encoding/binary"
|
||||
"loafle.com/overflow/collector/core/scan/service/matcher/packet"
|
||||
"loafle.com/overflow/collector/discovery/types"
|
||||
"loafle.com/overflow/commons_go/matcher/packet"
|
||||
"loafle.com/overflow/commons_go/model/scaninfo"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -112,7 +112,7 @@ func (t *PostgreSQLMatcher) Packet(index int) *packet.Packet {
|
|||
return t.packets[index]
|
||||
}
|
||||
|
||||
func (t *PostgreSQLMatcher) IsError(index int, packet *packet.Packet, info *types.ServiceScanInfo) bool {
|
||||
func (t *PostgreSQLMatcher) IsError(index int, packet *packet.Packet, info scaninfo.ServiceScanInfo) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
|
@ -124,7 +124,7 @@ func (t *PostgreSQLMatcher) IsPrePacket() bool {
|
|||
return false
|
||||
}
|
||||
|
||||
func (t *PostgreSQLMatcher) Match(index int, packet *packet.Packet, info *types.ServiceScanInfo) bool {
|
||||
func (t *PostgreSQLMatcher) Match(index int, packet *packet.Packet, info scaninfo.ServiceScanInfo) bool {
|
||||
|
||||
if packet == nil {
|
||||
return false
|
||||
|
|
|
@ -2,7 +2,7 @@ package pgsql
|
|||
|
||||
|
||||
import (
|
||||
"loafle.com/overflow/collector/core/scan/service/matcher/packet"
|
||||
"loafle.com/overflow/commons_go/matcher/packet"
|
||||
"net"
|
||||
"testing"
|
||||
"crypto/tls"
|
||||
|
|
Loading…
Reference in New Issue
Block a user