Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudwego/netpoll
/ Reader
Method
Reader
connection_impl.go:64–66 ·
view source on GitHub ↗
Reader implements Connection.
()
Source
from the content-addressed store, hash-verified
62
63
// Reader implements Connection.
64
func
(c *connection) Reader() Reader {
65
return
c
66
}
67
68
// Writer implements Connection.
69
func
(c *connection) Writer() Writer {
Callers
8
TestConnectionRead
Function · 0.95
TestConnectionReadAfterClosed
Function · 0.95
TestConnectionWaitReadHalfPacket
Function · 0.95
TestConnectionLargeMemory
Function · 0.95
TestConnectionUntil
Function · 0.95
TestBookSizeLargerThanMaxSize
Function · 0.95
onProcess
Method · 0.95
TestPollManager
Function · 0.95
Calls
no outgoing calls
Tested by
7
TestConnectionRead
Function · 0.76
TestConnectionReadAfterClosed
Function · 0.76
TestConnectionWaitReadHalfPacket
Function · 0.76
TestConnectionLargeMemory
Function · 0.76
TestConnectionUntil
Function · 0.76
TestBookSizeLargerThanMaxSize
Function · 0.76
TestPollManager
Function · 0.76