MCPcopy Create free account

hub / github.com/Allenxuxu/gev / functions

Functions368 in github.com/Allenxuxu/gev

MethodRsv1
Rsv1 reports whether the header has first rsv bit set.
plugins/websocket/ws/frame.go:179
MethodRsv2
Rsv2 reports whether the header has second rsv bit set.
plugins/websocket/ws/frame.go:182
MethodRsv3
Rsv3 reports whether the header has third rsv bit set.
plugins/websocket/ws/frame.go:185
MethodRun
()
listener.go:75
MethodRunAfter
RunAfter 延时任务
server_std.go:61
MethodRunEvery
RunEvery 定时任务
server_std.go:66
MethodRunPush
RunPush push message
example/pushmessage/main.go:47
MethodRunPush
RunPush push message
example/bufferlength/main.go:47
MethodSend
Send 用来在非 loop 协程发送
connection.go:122
MethodSetContext
SetContext 设置 Context
server_std.go:222
MethodSetContext
SetContext 设置 Context
connection.go:107
FunctionSetLogger
SetLogger sets the local logger
log/log.go:140
FunctionSetPrefix
SetPrefix sets a prefix for the logger
log/log.go:160
MethodShutdownWrite
ShutdownWrite 关闭可写端,等待读取完接收缓冲区所有数据
connection.go:157
MethodStart
Start 启动 Server
server_std.go:71
MethodStop
()
listener.go:103
MethodString
()
example/protobuf/proto/user.pb.go:102
MethodString
()
example/protobuf/proto/user.pb.go:163
FunctionTestConnClose
(t *testing.T)
server_conn_test.go:39
FunctionTestConnLoadBalanceLeastConnection
(t *testing.T)
server_conn_test.go:128
FunctionTestConnLoadBalanceRoundRobin
(t *testing.T)
server_conn_test.go:160
FunctionTestDefaultProtocol_UnPacket
(t *testing.T)
protocol_test.go:13
FunctionTestEventLoopSize
(t *testing.T)
eventloop/eventloop_test.go:38
FunctionTestEventLoop_RunLoop
(t *testing.T)
eventloop/eventloop_test.go:14
FunctionTestIdleTime
(t *testing.T)
server_conn_test.go:85
FunctionTestKeyValueContext
(t *testing.T)
context_test.go:7
FunctionTestLeastConnection
(t *testing.T)
load_balance_test.go:11
FunctionTestPoller_Close
(t *testing.T)
poller/poller_test.go:37
FunctionTestPoller_Poll
(t *testing.T)
poller/poller_test.go:11
FunctionTestRoundRobin
(t *testing.T)
load_balance_test.go:37
FunctionTestServer_Start
(t *testing.T)
server_test.go:42
FunctionTestServer_Stop
(t *testing.T)
server_test.go:154
FunctionTestServer_Stop1
(t *testing.T)
server_test.go:223
FunctionTestWebSocketServer_CloseConnection
(t *testing.T)
example/websocket/wsserver_test.go:135
FunctionTestWebSocketServer_Start
(t *testing.T)
example/websocket/wsserver_test.go:73
MethodUnPacket
(c *gev.Connection, buffer *ringbuffer.RingBuffer)
example/protocol/protocol.go:15
MethodUnPacket
UnPacket ...
plugins/protobuf/protocol.go:27
MethodUnPacket
UnPacket 解析 websocket 协议,返回 header ,payload
plugins/websocket/protocol.go:27
MethodUserBuffer
()
connection.go:82
MethodWriteBufferLength
WriteBufferLength write buffer 当前积压的数据长度
connection.go:167
MethodWriteTo
WriteTo implements HandshakeHeader (and io.WriterTo) interface.
plugins/websocket/ws/http.go:301
MethodWriteTo
WriteTo implements HandshakeHeader (and io.WriterTo) interface.
plugins/websocket/ws/http.go:311
MethodWriteTo
WriteTo implements HandshakeHeader (and io.WriterTo) interface.
plugins/websocket/ws/http.go:321
MethodWriteTo
WriteTo implements HandshakeHeader (and io.WriterTo) interface.
plugins/websocket/ws/http.go:330
MethodWriteTo
(w io.Writer)
plugins/websocket/ws/ws.go:28
MethodhandleNewConnection
(fd int, sa unix.Sockaddr)
server.go:80
MethodhandlerEvent
(fd int, events poller.Event)
eventloop/eventloop.go:143
Functioninit
()
example/protobuf/proto/user.pb.go:236
Functioninit
()
log/log.go:51
Functionmain
()
example/protocol/server.go:26
Functionmain
()
example/protocol/client/main.go:38
Functionmain
()
example/echo/main.go:35
Functionmain
()
example/protobuf/client/main.go:16
Functionmain
()
example/protobuf/server/main.go:46
Functionmain
()
example/maxconnection/main.go:68
Functionmain
()
example/websocket/main.go:152
Functionmain
()
example/sendAsync/main.go:36
Functionmain
()
example/pushmessage/main.go:92
Functionmain
()
example/idleconnection/main.go:30
Functionmain
()
example/bufferlength/main.go:97
Functionmain
()
benchmarks/client/main.go:18
Functionmain
()
benchmarks/net-echo-server/main.go:14
Functionmain
()
benchmarks/eviop-echo-server/main.go:21
Functionmain
()
benchmarks/evio-echo-server/main.go:12
Functionmain
()
benchmarks/gev-echo-server/echo.go:33
Functionmain
()
benchmarks/gnet-echo-server/main.go:34
Functionmain
()
benchmarks/websocket/server.go:41
Functionmain
()
benchmarks/websocket/client/main.go:23
← previous301–368 of 368, ranked by callers