current implementation of ipv6

This commit is contained in:
2021-06-25 01:03:20 +04:00
parent fbb3748fe4
commit 1eac752fa7
8 changed files with 91 additions and 41 deletions

View File

@@ -17,6 +17,7 @@ type IpAddresses struct {
type IpAddress struct {
Ipv4 string `json:"ipv4"`
Ipv6 string `json:"ipv6"`
Latency time.Duration `json:"latency"`
Download float64 `json:"download"`
Upload float64 `json:"upload"`