api/v1/server.go: remove unused response values
This commit is contained in:
parent
ca09e5efc5
commit
41605f743a
1 changed files with 0 additions and 3 deletions
|
@ -111,12 +111,9 @@ const keyIPInfo key = iota
|
|||
|
||||
type ipInfoResponse struct {
|
||||
*geoloc.IPInfo
|
||||
|
||||
Elapsed int64 `json:"elapsed"`
|
||||
}
|
||||
|
||||
func (ir *ipInfoResponse) Render(w http.ResponseWriter, r *http.Request) error {
|
||||
ir.Elapsed = 10
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue