============================================================================= Shell状态方法 ============================================================================= IsForwardShellActive 检查正向Shell是否活跃
()
| 356 | |
| 357 | // IsForwardShellActive 检查正向Shell是否活跃 |
| 358 | func (s *State) IsForwardShellActive() bool { |
| 359 | return atomic.LoadInt32(&s.forwardShellActive) == 1 |
| 360 | } |
| 361 | |
| 362 | // SetForwardShellActive 设置正向Shell活跃状态 |
| 363 | func (s *State) SetForwardShellActive(active bool) { |