2021年2月

阅读项目服务器代码

 

 

 

测试手机 Redmi K30 Pro

Application.internetReachability

public enum NetworkReachability {
    /// Network is not reachable. 
    /// 手机上关闭 wifi 和 4g
    NotReachable = 0,

    /// Network is reachable via carrier data network.
    /// 手机只开4g
    ReachableViaCarrierDataNetwork = 1,

    /// Network is reachable via WiFi or cable.
    /// 手机上只开wifi
    ReachableViaLocalAreaNetwork = 2

 

 

 

go 相关

 

Locker  sync.WaitGroup

OpLog  chan *msg.GetXXX

 

go func() {

  startMsg := d.room.StartAutoFight()

}()

 

defer wg.Done()

 

posted on 2021-02-02 16:46  void87  阅读(90)  评论(0编辑  收藏  举报

导航