type net/http.ConnState
13 uses
net/http (current package)
h2_bundle.go#L4201: func (sc *http2serverConn) setConnState(state ConnState) {
server.go#L1753: func (c *conn) setState(nc net.Conn, state ConnState, runHook bool) {
server.go#L1774: func (c *conn) getState() (state ConnState, unixSec int64) {
server.go#L1776: return ConnState(packedState & 0xff), int64(packedState >> 8)
server.go#L2619: ConnState func(net.Conn, ConnState)
server.go#L2823: type ConnState int
server.go#L2830: StateNew ConnState = iota
server.go#L2861: var stateName = map[ConnState]string{
server.go#L2869: func (c ConnState) String() string {
net/http/httptest
server.go#L53: conns map[net.Conn]http.ConnState // except terminal states
server.go#L316: s.Config.ConnState = func(c net.Conn, cs http.ConnState) {
server.go#L326: s.conns = make(map[net.Conn]http.ConnState)
golang.org/x/net/http2
server.go#L632: func (sc *serverConn) setConnState(state http.ConnState) {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |