Documentation
¶
Index ¶
- Variables
- func Gscan(cnt int, savetofile bool) []byte
- func Ping(address string, timeout time.Duration) error
- func Pinger(address string, timeout time.Duration) error
- type GScanConfig
- type HostIP
- type HostIPTable
- type ScanGoogleHostsConfig
- type ScanGoogleIPConfig
- type ScanOptions
- func (options *ScanOptions) AddRecord(rec *ScanRecord)
- func (options *ScanOptions) HaveHostInRecords(host string) bool
- func (options *ScanOptions) IncScanCounter()
- func (options *ScanOptions) RecordSize() int
- func (options *ScanOptions) RemoveFromInputHosts(hosts []string)
- func (options *ScanOptions) SSLMatchHosts(conn *tls.Conn) []string
- type ScanRecord
- type ScanRecordArray
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrPingConnFailed = errors.New("ping: connect failed")
Functions ¶
Types ¶
type GScanConfig ¶
type GScanConfig struct {
VerifyPing bool
ScanMinPingRTT time.Duration
ScanMaxPingRTT time.Duration
ScanMinSSLRTT time.Duration
ScanMaxSSLRTT time.Duration
ScanWorker int
ScanCountPerIP int
Operation string
ScanGoogleIP ScanGoogleIPConfig
ScanGoogleHosts ScanGoogleHostsConfig
// contains filtered or unexported fields
}
type HostIPTable ¶
type ScanGoogleHostsConfig ¶
type ScanGoogleIPConfig ¶
type ScanOptions ¶
type ScanOptions struct {
Config *GScanConfig
// contains filtered or unexported fields
}
func (*ScanOptions) AddRecord ¶
func (options *ScanOptions) AddRecord(rec *ScanRecord)
func (*ScanOptions) HaveHostInRecords ¶
func (options *ScanOptions) HaveHostInRecords(host string) bool
func (*ScanOptions) IncScanCounter ¶
func (options *ScanOptions) IncScanCounter()
func (*ScanOptions) RecordSize ¶
func (options *ScanOptions) RecordSize() int
func (*ScanOptions) RemoveFromInputHosts ¶
func (options *ScanOptions) RemoveFromInputHosts(hosts []string)
func (*ScanOptions) SSLMatchHosts ¶
func (options *ScanOptions) SSLMatchHosts(conn *tls.Conn) []string
type ScanRecord ¶
type ScanRecordArray ¶
type ScanRecordArray []*ScanRecord
Click to show internal directories.
Click to hide internal directories.