chore(all): replace net.IP with netip.Addr

This commit is contained in:
Quentin McGaw
2023-05-20 19:58:18 +00:00
parent 00ee6ff9a7
commit 0a29337c3b
91 changed files with 525 additions and 590 deletions

View File

@@ -5,8 +5,8 @@ import (
"encoding/json"
"errors"
"fmt"
"net"
"net/http"
"net/netip"
)
var (
@@ -26,8 +26,8 @@ type logicalServer struct {
}
type physicalServer struct {
EntryIP net.IP
ExitIP net.IP
EntryIP netip.Addr
ExitIP netip.Addr
Domain string
Status uint8
}