This commit is contained in:
孟帅
2023-04-05 12:29:33 +08:00
parent c709073ed7
commit 075a12ce7e
27 changed files with 703 additions and 168 deletions

View File

@@ -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
}