mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-10-14 05:53:43 +08:00
This commit is contained in:
@@ -69,6 +69,9 @@ func (s *sTCPAuth) Stop(ctx context.Context) {
|
||||
|
||||
// IsLogin 是否已登录认证
|
||||
func (s *sTCPAuth) IsLogin() bool {
|
||||
if s.client == nil {
|
||||
return false
|
||||
}
|
||||
return s.client.IsLogin
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user