Documentation
¶
Overview ¶
Package model provides the data types our application deals with.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Host ¶
type Host struct {
ID int64
Addr net.IP
Name string
Added time.Time
LastContact time.Time
Sysname string
Location string
Source hsrc.HostSource
// contains filtered or unexported fields
}
Host is a host on the wide, wide Internet.
type Service ¶
type Service struct {
ID int64
HostID int64
Port uint16
Success bool
Response string
Timestamp time.Time
}
Service represents a scanned port (success or not).
Click to show internal directories.
Click to hide internal directories.