• Xin.Zh's avatar
    Ftr: listen on random local port (#29) · 8b727f60
    Xin.Zh authored
    * Add: go safely
    
    * Mod: go fmt
    
    * Add: remark and ignoreRecover param
    
    * Add: atomic load var
    
    * directly pass handle func
    
    * Fix: load var in atomic
    
    * Rem: load atomic var by atomic loading
    
    * Add: period param
    
    * Mod: add readme
    
    * Fix: inc value by atomic
    
    * Add: ListenOnTcpRandomPort/ListenOnUdpRandomPort
    
    * Fix: conflict
    
    * Update: readme
    Co-authored-by: 's avatar望哥 <gelnyang@163.com>
    Co-authored-by: 's avataryuyu <yuyu.zx@alipay.com>
    8b727f60
net.go 3.86 KB