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

Struct Server

http/http.go:29–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27)
28
29type 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
40type Response struct {
41 IP net.IP `json:"ip"`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected