线程同步
import(“sync”)
互斥锁, var mu sync.Mutex
读写锁, var mu sync.RWMutex
资源竞争样例
func testMap() {
var a mapint
a = make(mapint, 5)
a = 10
a = 10
a = 10
a = 10
a = 10 ...……
HTTP/2 in GO(一)
HTTP/2 in GO(二)
HTTP/2 in GO(三)
HTTP/2 in GO(四)
HTTP/2 in GO(五)
HTTP/2新增特性
二进制分帧(HTTP Frames)
多路复用
头部压缩
服务端推送(server push)
HTTP/2通过多种多种技术手段(如 ...……