golang.org/x/net/http2.responseWriterState.trailers (field)
9 uses
golang.org/x/net/http2 (current package)
server.go#L2366: trailers []string // set in writeChunk
server.go#L2384: func (rws *responseWriterState) hasTrailers() bool { return len(rws.trailers) > 0 }
server.go#L2387: for _, trailer := range rws.trailers {
server.go#L2405: if !strSliceContains(rws.trailers, k) {
server.go#L2406: rws.trailers = append(rws.trailers, k)
server.go#L2512: trailers: rws.trailers,
server.go#L2568: if len(rws.trailers) > 1 {
server.go#L2570: sorter.SortStrings(rws.trailers)
![]() |
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. |