| 58 | } |
| 59 | |
| 60 | type PortResponse struct { |
| 61 | IP net.IP `json:"ip"` |
| 62 | Port uint64 `json:"port"` |
| 63 | Reachable bool `json:"reachable"` |
| 64 | } |
| 65 | |
| 66 | func New(db geo.Reader, cache *Cache, profile bool) *Server { |
| 67 | return &Server{cache: cache, gr: db, profile: profile} |
nothing calls this directly
no outgoing calls
no test coverage detected