MCPcopy Create free account
hub / github.com/mpolden/echoip / PortResponse

Struct PortResponse

http/http.go:60–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected