diff options
| author | pg9182 <96569817+pg9182@users.noreply.github.com> | 2022-10-15 08:46:48 -0400 |
|---|---|---|
| committer | pg9182 <96569817+pg9182@users.noreply.github.com> | 2022-10-15 08:46:48 -0400 |
| commit | d30e6b20b8aa904d36f792e33e0d114af73a51f9 (patch) | |
| tree | afa556ddd76f8979c4c2ee9649790c19b96d652d /pkg/api/api0 | |
| parent | e0b4cc75a3e9366c5a2447a2e389a3edc68c5765 (diff) | |
| download | Atlas-d30e6b20b8aa904d36f792e33e0d114af73a51f9.tar.gz Atlas-d30e6b20b8aa904d36f792e33e0d114af73a51f9.zip | |
pkg/api/api0: Add comment about AuthPort to Server struct
Diffstat (limited to 'pkg/api/api0')
| -rw-r--r-- | pkg/api/api0/serverlist.go | 8 |
1 files changed, 4 insertions, 4 deletions
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 |
