| 111 | } |
| 112 | |
| 113 | HttpContext struct { |
| 114 | context context.Context |
| 115 | // Reserved |
| 116 | cancel context.CancelFunc |
| 117 | middlewareStep string |
| 118 | request *Request |
| 119 | routerNode RouterNode |
| 120 | routerParams Params |
| 121 | response *Response |
| 122 | webSocket *WebSocket |
| 123 | hijackConn *HijackConn |
| 124 | isWebSocket bool |
| 125 | isHijack bool |
| 126 | isEnd bool // indicating whether the current process should be terminated |
| 127 | httpServer *HttpServer |
| 128 | sessionID string |
| 129 | innerItems core.ConcurrenceMap |
| 130 | items core.ConcurrenceMap |
| 131 | viewData core.ConcurrenceMap |
| 132 | handler HttpHandle |
| 133 | tools *Tools |
| 134 | } |
| 135 | |
| 136 | WebSocket struct { |
| 137 | Conn *websocket.Conn |
nothing calls this directly
no outgoing calls
no test coverage detected