go-redis 鏈接池源碼分析

一、創建鏈接和關閉鏈接 二、池子裏面取Conn的管理 三、監控統計 四、整個Pooler池子的關閉web 結構體 type ConnPool struct { opt *Options //初始化的配置項 dialErrorsNum uint32 // atomic 鏈接錯誤次數 lastDialError error //鏈接錯誤的最後一次的錯誤類型 la
相關文章
相關標籤/搜索