type golang.org/x/net/http2.ClientConn
55 uses
golang.org/x/net/http2 (current package)
client_conn_pool.go#L17: GetClientConn(req *http.Request, addr string) (*ClientConn, error)
client_conn_pool.go#L18: MarkDead(*ClientConn)
client_conn_pool.go#L40: conns map[string][]*ClientConn // key is host:port
client_conn_pool.go#L42: keys map[*ClientConn][]string
client_conn_pool.go#L46: func (p *clientConnPool) GetClientConn(req *http.Request, addr string) (*ClientConn, error) {
client_conn_pool.go#L76: func (p *clientConnPool) getClientConn(req *http.Request, addr string, dialOnMiss bool) (*ClientConn, error) {
client_conn_pool.go#L113: res *ClientConn // valid after done is closed
client_conn_pool.go#L206: func (p *clientConnPool) addConnLocked(key string, cc *ClientConn) {
client_conn_pool.go#L213: p.conns = make(map[string][]*ClientConn)
client_conn_pool.go#L216: p.keys = make(map[*ClientConn][]string)
client_conn_pool.go#L222: func (p *clientConnPool) MarkDead(cc *ClientConn) {
client_conn_pool.go#L256: func filterOutClientConn(in []*ClientConn, exclude *ClientConn) []*ClientConn {
client_conn_pool.go#L276: func (p noDialClientConnPool) GetClientConn(req *http.Request, addr string) (*ClientConn, error) {
transport.go#L229: type ClientConn struct {
transport.go#L278: cc *ClientConn
transport.go#L567: func (t *Transport) dialClientConn(addr string, singleUse bool) (*ClientConn, error) {
transport.go#L636: func (t *Transport) NewClientConn(c net.Conn) (*ClientConn, error) {
transport.go#L640: func (t *Transport) newClientConn(c net.Conn, singleUse bool) (*ClientConn, error) {
transport.go#L641: cc := &ClientConn{
transport.go#L709: func (cc *ClientConn) healthCheck() {
transport.go#L723: func (cc *ClientConn) setGoAway(f *GoAwayFrame) {
transport.go#L750: func (cc *ClientConn) CanTakeNewRequest() bool {
transport.go#L763: func (cc *ClientConn) idleState() clientConnIdleState {
transport.go#L769: func (cc *ClientConn) idleStateLocked() (st clientConnIdleState) {
transport.go#L791: func (cc *ClientConn) canTakeNewRequestLocked() bool {
transport.go#L798: func (cc *ClientConn) tooIdleLocked() bool {
transport.go#L812: func (cc *ClientConn) onIdleTimeout() {
transport.go#L816: func (cc *ClientConn) closeIfIdle() {
transport.go#L836: func (cc *ClientConn) Shutdown(ctx context.Context) error {
transport.go#L872: func (cc *ClientConn) sendGoAway() error {
transport.go#L896: func (cc *ClientConn) closeForError(err error) error {
transport.go#L915: func (cc *ClientConn) Close() error {
transport.go#L921: func (cc *ClientConn) closeForLostPing() error {
transport.go#L932: func (cc *ClientConn) frameScratchBuffer() []byte {
transport.go#L949: func (cc *ClientConn) putFrameScratchBuffer(buf []byte) {
transport.go#L987: func (cc *ClientConn) responseHeaderTimeout() time.Duration {
transport.go#L1027: func (cc *ClientConn) RoundTrip(req *http.Request) (*http.Response, error) {
transport.go#L1032: func (cc *ClientConn) roundTrip(req *http.Request) (res *http.Response, gotErrAfterReqBodyWrite bool, err error) {
transport.go#L1226: func (cc *ClientConn) awaitOpenSlotForRequest(req *http.Request) error {
transport.go#L1268: func (cc *ClientConn) writeHeaders(streamID uint32, endStream bool, maxFrameSize int, hdrs []byte) error {
transport.go#L1470: func (cc *ClientConn) encodeHeaders(req *http.Request, addGzipHeader bool, trailers string, contentLength int64) ([]byte, error) {
transport.go#L1651: func (cc *ClientConn) encodeTrailers(req *http.Request) ([]byte, error) {
transport.go#L1676: func (cc *ClientConn) writeHeader(name, value string) {
transport.go#L1690: func (cc *ClientConn) newStream() *clientStream {
transport.go#L1707: func (cc *ClientConn) forgetStreamID(id uint32) {
transport.go#L1711: func (cc *ClientConn) streamByID(id uint32, andRemove bool) *clientStream {
transport.go#L1733: cc *ClientConn
transport.go#L1738: func (cc *ClientConn) readLoop() {
transport.go#L2436: func (cc *ClientConn) Ping(ctx context.Context) error {
transport.go#L2506: func (cc *ClientConn) writeStreamReset(streamID uint32, code ErrCode, err error) {
transport.go#L2522: func (cc *ClientConn) logf(format string, args ...interface{}) {
transport.go#L2526: func (cc *ClientConn) vlogf(format string, args ...interface{}) {
transport.go#L2715: func traceGotConn(req *http.Request, cc *ClientConn, reused bool) {
 |
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. |