Skip to content

Commit

Permalink
add p0f client interface
Browse files Browse the repository at this point in the history
  • Loading branch information
mahdifarzadi committed Jul 16, 2022
1 parent 63a6288 commit 95451fb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions p0f.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ import (
"net"
)

type Client interface {
Query(ip string) (*hostInfo, error)
}

type p0f struct {
conn net.Conn
}
Expand Down

0 comments on commit 95451fb

Please sign in to comment.