mirror of
https://github.com/qdm12/gluetun.git
synced 2026-05-09 20:29:23 +02:00
feat(publicip/api): query all fetchers in parallel and pick most popular result
This commit is contained in:
@@ -5,7 +5,7 @@ import (
|
||||
)
|
||||
|
||||
type PublicIP struct {
|
||||
IP netip.Addr `json:"public_ip,omitempty"`
|
||||
IP netip.Addr `json:"public_ip"`
|
||||
Region string `json:"region,omitempty"`
|
||||
Country string `json:"country,omitempty"`
|
||||
City string `json:"city,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user