gotd: add time synchronization

This commit is contained in:
Tulir Asokan
2026-02-26 18:24:48 +02:00
parent 93fe3cb0ea
commit 6af986ded5
15 changed files with 110 additions and 48 deletions
+3
View File
@@ -2,6 +2,7 @@ package exchange
import (
"io"
"time"
"go.uber.org/zap"
@@ -23,4 +24,6 @@ type ClientExchangeResult struct {
AuthKey crypto.AuthKey
SessionID int64
ServerSalt int64
ServerTimeOffset time.Duration
}