context

A golang registry for global request variables.

Github星跟蹤圖

context

GoDoc
CircleCI

? This library is in maintenance mode.

⚠⚠⚠ Note ⚠⚠⚠ gorilla/context, having been born well before context.Context existed, does not play well
with the shallow copying of the request that http.Request.WithContext (added to net/http Go 1.7 onwards) performs.

Using gorilla/context may lead to memory leaks under those conditions, as the pointers to each http.Request become "islanded" and will not be cleaned up when the response is sent.

You should use the http.Request.Context() feature in Go 1.7.

gorilla/context is a general purpose registry for global request variables.

License

See the LICENSE file for details.

主要指標

概覽
名稱與所有者gorilla/context
主編程語言Go
編程語言Go (語言數: 2)
平台
許可證BSD 3-Clause "New" or "Revised" License
所有者活动
創建於2012-10-02 21:41:50
推送於2023-11-05 22:04:09
最后一次提交
發布數4
最新版本名稱v2.0.0 (發布於 )
第一版名稱v1.1 (發布於 2016-04-22 06:14:22)
用户参与
星數428
關注者數23
派生數138
提交數58
已啟用問題?
問題數16
打開的問題數0
拉請求數18
打開的拉請求數0
關閉的拉請求數12
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?