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.