gotd: add time synchronization
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user