type net/http.http2ClientConn
55 uses
net/http (current package)
h2_bundle.go#L693: GetClientConn(req *Request, addr string) (*http2ClientConn, error)
h2_bundle.go#L694: MarkDead(*http2ClientConn)
h2_bundle.go#L716: conns map[string][]*http2ClientConn // key is host:port
h2_bundle.go#L718: keys map[*http2ClientConn][]string
h2_bundle.go#L722: func (p *http2clientConnPool) GetClientConn(req *Request, addr string) (*http2ClientConn, error) {
h2_bundle.go#L752: func (p *http2clientConnPool) getClientConn(req *Request, addr string, dialOnMiss bool) (*http2ClientConn, error) {
h2_bundle.go#L789: res *http2ClientConn // valid after done is closed
h2_bundle.go#L882: func (p *http2clientConnPool) addConnLocked(key string, cc *http2ClientConn) {
h2_bundle.go#L889: p.conns = make(map[string][]*http2ClientConn)
h2_bundle.go#L892: p.keys = make(map[*http2ClientConn][]string)
h2_bundle.go#L898: func (p *http2clientConnPool) MarkDead(cc *http2ClientConn) {
h2_bundle.go#L932: func http2filterOutClientConn(in []*http2ClientConn, exclude *http2ClientConn) []*http2ClientConn {
h2_bundle.go#L952: func (p http2noDialClientConnPool) GetClientConn(req *Request, addr string) (*http2ClientConn, error) {
h2_bundle.go#L6731: type http2ClientConn struct {
h2_bundle.go#L6780: cc *http2ClientConn
h2_bundle.go#L7070: func (t *http2Transport) dialClientConn(addr string, singleUse bool) (*http2ClientConn, error) {
h2_bundle.go#L7139: func (t *http2Transport) NewClientConn(c net.Conn) (*http2ClientConn, error) {
h2_bundle.go#L7143: func (t *http2Transport) newClientConn(c net.Conn, singleUse bool) (*http2ClientConn, error) {
h2_bundle.go#L7144: cc := &http2ClientConn{
h2_bundle.go#L7212: func (cc *http2ClientConn) healthCheck() {
h2_bundle.go#L7226: func (cc *http2ClientConn) setGoAway(f *http2GoAwayFrame) {
h2_bundle.go#L7253: func (cc *http2ClientConn) CanTakeNewRequest() bool {
h2_bundle.go#L7266: func (cc *http2ClientConn) idleState() http2clientConnIdleState {
h2_bundle.go#L7272: func (cc *http2ClientConn) idleStateLocked() (st http2clientConnIdleState) {
h2_bundle.go#L7294: func (cc *http2ClientConn) canTakeNewRequestLocked() bool {
h2_bundle.go#L7301: func (cc *http2ClientConn) tooIdleLocked() bool {
h2_bundle.go#L7315: func (cc *http2ClientConn) onIdleTimeout() {
h2_bundle.go#L7319: func (cc *http2ClientConn) closeIfIdle() {
h2_bundle.go#L7339: func (cc *http2ClientConn) Shutdown(ctx context.Context) error {
h2_bundle.go#L7375: func (cc *http2ClientConn) sendGoAway() error {
h2_bundle.go#L7399: func (cc *http2ClientConn) closeForError(err error) error {
h2_bundle.go#L7418: func (cc *http2ClientConn) Close() error {
h2_bundle.go#L7424: func (cc *http2ClientConn) closeForLostPing() error {
h2_bundle.go#L7435: func (cc *http2ClientConn) frameScratchBuffer() []byte {
h2_bundle.go#L7452: func (cc *http2ClientConn) putFrameScratchBuffer(buf []byte) {
h2_bundle.go#L7490: func (cc *http2ClientConn) responseHeaderTimeout() time.Duration {
h2_bundle.go#L7530: func (cc *http2ClientConn) RoundTrip(req *Request) (*Response, error) {
h2_bundle.go#L7535: func (cc *http2ClientConn) roundTrip(req *Request) (res *Response, gotErrAfterReqBodyWrite bool, err error) {
h2_bundle.go#L7729: func (cc *http2ClientConn) awaitOpenSlotForRequest(req *Request) error {
h2_bundle.go#L7771: func (cc *http2ClientConn) writeHeaders(streamID uint32, endStream bool, maxFrameSize int, hdrs []byte) error {
h2_bundle.go#L7973: func (cc *http2ClientConn) encodeHeaders(req *Request, addGzipHeader bool, trailers string, contentLength int64) ([]byte, error) {
h2_bundle.go#L8154: func (cc *http2ClientConn) encodeTrailers(req *Request) ([]byte, error) {
h2_bundle.go#L8179: func (cc *http2ClientConn) writeHeader(name, value string) {
h2_bundle.go#L8193: func (cc *http2ClientConn) newStream() *http2clientStream {
h2_bundle.go#L8210: func (cc *http2ClientConn) forgetStreamID(id uint32) {
h2_bundle.go#L8214: func (cc *http2ClientConn) streamByID(id uint32, andRemove bool) *http2clientStream {
h2_bundle.go#L8236: cc *http2ClientConn
h2_bundle.go#L8241: func (cc *http2ClientConn) readLoop() {
h2_bundle.go#L8939: func (cc *http2ClientConn) Ping(ctx context.Context) error {
h2_bundle.go#L9009: func (cc *http2ClientConn) writeStreamReset(streamID uint32, code http2ErrCode, err error) {
h2_bundle.go#L9025: func (cc *http2ClientConn) logf(format string, args ...interface{}) {
h2_bundle.go#L9029: func (cc *http2ClientConn) vlogf(format string, args ...interface{}) {
h2_bundle.go#L9219: func http2traceGotConn(req *Request, cc *http2ClientConn, 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. |