ports/portscan_test.go

26 lines
320 B
Go
Raw Normal View History

2022-06-20 20:07:41 +00:00
package main
import (
"net"
"testing"
)
func TestConnection(t *testing.T) {
t.Run("Test Connection", func(t *testing.T) {
})
}
func TestScanIp(t *testing.T) {
t.Run("Test Scan IP", func(t *testing.T) {
})
}
type MockConn struct {
net.Conn
}
func (m *MockConn) Read(b []byte) (int, error) {
return 0, nil
}