mirror of
https://github.com/yuanyuanxiang/SimpleRemoter.git
synced 2026-01-21 23:13:08 +08:00
Server/go: authorization client automatically exit if verify succeed
This commit is contained in:
@@ -37,8 +37,9 @@ type Context struct {
|
||||
OutBuffer *buffer.Buffer // Decompressed data for processing
|
||||
|
||||
// Client info
|
||||
Info ClientInfo
|
||||
IsLoggedIn atomic.Bool
|
||||
Info ClientInfo
|
||||
IsLoggedIn atomic.Bool
|
||||
IsAuthorized atomic.Bool // Whether client is authorized via heartbeat
|
||||
|
||||
// Connection state
|
||||
OnlineTime time.Time
|
||||
|
||||
Reference in New Issue
Block a user