From d30e6b20b8aa904d36f792e33e0d114af73a51f9 Mon Sep 17 00:00:00 2001 From: pg9182 <96569817+pg9182@users.noreply.github.com> Date: Sat, 15 Oct 2022 08:46:48 -0400 Subject: pkg/api/api0: Add comment about AuthPort to Server struct --- pkg/api/api0/serverlist.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pkg/api/api0') diff --git a/pkg/api/api0/serverlist.go b/pkg/api/api0/serverlist.go index 11b7950..c9a22b0 100644 --- a/pkg/api/api0/serverlist.go +++ b/pkg/api/api0/serverlist.go @@ -48,13 +48,13 @@ type ServerList struct { } type Server struct { - Order uint64 - ID string // unique, must not be modified after creation - Addr netip.AddrPort // unique, must not be modified after creation + Order uint64 + ID string // unique, must not be modified after creation + Addr netip.AddrPort // unique, must not be modified after creation + AuthPort uint16 // unique with Addr.Addr(), must not be modified after creation Name string Description string - AuthPort uint16 Password string // blank for none VerificationDeadline time.Time // zero once verified -- cgit v1.2.3