独孤侠
独孤侠
When using lookup to determine the receiving connection of a new topic, if there is no topic, there will be an error. Then the listening is done by HTTP. Is...
这是一个获取UUID速度更快的生成器;
支持文件夹的导出的删除文件夹的树和节点数据
数组越界BUG
``` func (m *Master) AdjustSize(newSize int) { if int64(newSize) > m.maxNum { newSize = int(m.maxNum) } m.Lock() defer m.Unlock() if diff := newSize - int(m.ingNum); diff > 0 { for...
关闭风险
``` func newWorker() (w *worker) { w = &worker{ params: make(chan interface{}), } go func(w *worker) { for { if w.process() { break } atomic.StoreInt32(&w.isBusy, 0) } // 置为繁忙状态 atomic.StoreInt32(&w.isBusy,...