| 27 | ) |
| 28 | |
| 29 | type Server struct { |
| 30 | Template string |
| 31 | IPHeaders []string |
| 32 | LookupAddr func(net.IP) (string, error) |
| 33 | LookupPort func(net.IP, uint64) error |
| 34 | cache *Cache |
| 35 | gr geo.Reader |
| 36 | profile bool |
| 37 | Sponsor bool |
| 38 | } |
| 39 | |
| 40 | type Response struct { |
| 41 | IP net.IP `json:"ip"` |
nothing calls this directly
no outgoing calls
no test coverage detected