google.golang.org/grpc/internal/transport.itemList.peek (method)
4 uses
google.golang.org/grpc/internal/transport (current package)
controlbuf.go#L58: func (il *itemList) peek() interface{} {
controlbuf.go#L838: dataItem := str.itl.peek().(*dataFrame) // Peek at the first data item this stream.
controlbuf.go#L853: } else if trailer, ok := str.itl.peek().(*headerFrame); ok { // the next item is trailers.
controlbuf.go#L922: } else if trailer, ok := str.itl.peek().(*headerFrame); ok { // The next item is 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. |