Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Allenxuxu/gev
/ functions
Functions
368 in github.com/Allenxuxu/gev
⨍
Functions
368
◇
Types & classes
78
Method
Rsv1
Rsv1 reports whether the header has first rsv bit set.
plugins/websocket/ws/frame.go:179
Method
Rsv2
Rsv2 reports whether the header has second rsv bit set.
plugins/websocket/ws/frame.go:182
Method
Rsv3
Rsv3 reports whether the header has third rsv bit set.
plugins/websocket/ws/frame.go:185
Method
Run
()
listener.go:75
Method
RunAfter
RunAfter 延时任务
server_std.go:61
Method
RunEvery
RunEvery 定时任务
server_std.go:66
Method
RunPush
RunPush push message
example/pushmessage/main.go:47
Method
RunPush
RunPush push message
example/bufferlength/main.go:47
Method
Send
Send 用来在非 loop 协程发送
connection.go:122
Method
SetContext
SetContext 设置 Context
server_std.go:222
Method
SetContext
SetContext 设置 Context
connection.go:107
Function
SetLogger
SetLogger sets the local logger
log/log.go:140
Function
SetPrefix
SetPrefix sets a prefix for the logger
log/log.go:160
Method
ShutdownWrite
ShutdownWrite 关闭可写端,等待读取完接收缓冲区所有数据
connection.go:157
Method
Start
Start 启动 Server
server_std.go:71
Method
Stop
()
listener.go:103
Method
String
()
example/protobuf/proto/user.pb.go:102
Method
String
()
example/protobuf/proto/user.pb.go:163
Function
TestConnClose
(t *testing.T)
server_conn_test.go:39
Function
TestConnLoadBalanceLeastConnection
(t *testing.T)
server_conn_test.go:128
Function
TestConnLoadBalanceRoundRobin
(t *testing.T)
server_conn_test.go:160
Function
TestDefaultProtocol_UnPacket
(t *testing.T)
protocol_test.go:13
Function
TestEventLoopSize
(t *testing.T)
eventloop/eventloop_test.go:38
Function
TestEventLoop_RunLoop
(t *testing.T)
eventloop/eventloop_test.go:14
Function
TestIdleTime
(t *testing.T)
server_conn_test.go:85
Function
TestKeyValueContext
(t *testing.T)
context_test.go:7
Function
TestLeastConnection
(t *testing.T)
load_balance_test.go:11
Function
TestPoller_Close
(t *testing.T)
poller/poller_test.go:37
Function
TestPoller_Poll
(t *testing.T)
poller/poller_test.go:11
Function
TestRoundRobin
(t *testing.T)
load_balance_test.go:37
Function
TestServer_Start
(t *testing.T)
server_test.go:42
Function
TestServer_Stop
(t *testing.T)
server_test.go:154
Function
TestServer_Stop1
(t *testing.T)
server_test.go:223
Function
TestWebSocketServer_CloseConnection
(t *testing.T)
example/websocket/wsserver_test.go:135
Function
TestWebSocketServer_Start
(t *testing.T)
example/websocket/wsserver_test.go:73
Method
UnPacket
(c *gev.Connection, buffer *ringbuffer.RingBuffer)
example/protocol/protocol.go:15
Method
UnPacket
UnPacket ...
plugins/protobuf/protocol.go:27
Method
UnPacket
UnPacket 解析 websocket 协议,返回 header ,payload
plugins/websocket/protocol.go:27
Method
UserBuffer
()
connection.go:82
Method
WriteBufferLength
WriteBufferLength write buffer 当前积压的数据长度
connection.go:167
Method
WriteTo
WriteTo implements HandshakeHeader (and io.WriterTo) interface.
plugins/websocket/ws/http.go:301
Method
WriteTo
WriteTo implements HandshakeHeader (and io.WriterTo) interface.
plugins/websocket/ws/http.go:311
Method
WriteTo
WriteTo implements HandshakeHeader (and io.WriterTo) interface.
plugins/websocket/ws/http.go:321
Method
WriteTo
WriteTo implements HandshakeHeader (and io.WriterTo) interface.
plugins/websocket/ws/http.go:330
Method
WriteTo
(w io.Writer)
plugins/websocket/ws/ws.go:28
Method
handleNewConnection
(fd int, sa unix.Sockaddr)
server.go:80
Method
handlerEvent
(fd int, events poller.Event)
eventloop/eventloop.go:143
Function
init
()
example/protobuf/proto/user.pb.go:236
Function
init
()
log/log.go:51
Function
main
()
example/protocol/server.go:26
Function
main
()
example/protocol/client/main.go:38
Function
main
()
example/echo/main.go:35
Function
main
()
example/protobuf/client/main.go:16
Function
main
()
example/protobuf/server/main.go:46
Function
main
()
example/maxconnection/main.go:68
Function
main
()
example/websocket/main.go:152
Function
main
()
example/sendAsync/main.go:36
Function
main
()
example/pushmessage/main.go:92
Function
main
()
example/idleconnection/main.go:30
Function
main
()
example/bufferlength/main.go:97
Function
main
()
benchmarks/client/main.go:18
Function
main
()
benchmarks/net-echo-server/main.go:14
Function
main
()
benchmarks/eviop-echo-server/main.go:21
Function
main
()
benchmarks/evio-echo-server/main.go:12
Function
main
()
benchmarks/gev-echo-server/echo.go:33
Function
main
()
benchmarks/gnet-echo-server/main.go:34
Function
main
()
benchmarks/websocket/server.go:41
Function
main
()
benchmarks/websocket/client/main.go:23
← previous
301–368 of 368, ranked by callers