type net/http.Protocols
18 uses
net/http (current package)
http.go#L30: type Protocols struct {
http.go#L41: func (p Protocols) HTTP1() bool { return p.bits&protoHTTP1 != 0 }
http.go#L44: func (p *Protocols) SetHTTP1(ok bool) { p.setBit(protoHTTP1, ok) }
http.go#L47: func (p Protocols) HTTP2() bool { return p.bits&protoHTTP2 != 0 }
http.go#L50: func (p *Protocols) SetHTTP2(ok bool) { p.setBit(protoHTTP2, ok) }
http.go#L53: func (p Protocols) UnencryptedHTTP2() bool { return p.bits&protoUnencryptedHTTP2 != 0 }
http.go#L56: func (p *Protocols) SetUnencryptedHTTP2(ok bool) { p.setBit(protoUnencryptedHTTP2, ok) }
http.go#L58: func (p *Protocols) setBit(bit uint8, ok bool) {
http.go#L66: func (p Protocols) String() string {
server.go#L3065: Protocols *Protocols
server.go#L3496: func (s *Server) protocols() Protocols {
server.go#L3513: var p Protocols
server.go#L3523: func adjustNextProtos(nextProtos []string, protos Protocols) []string {
server.go#L3530: var have Protocols
transport.go#L311: Protocols *Protocols
transport.go#L362: t2.Protocols = &Protocols{}
transport.go#L456: func (t *Transport) protocols() Protocols {
transport.go#L460: var p Protocols
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)