MCPcopy Create free account

hub / github.com/panjf2000/gnet / functions

Functions759 in github.com/panjf2000/gnet

MethodOnClose
(c Conn, _ error)
client_test.go:940
MethodOnOpen
(c Conn)
gnet_test.go:587
MethodOnOpen
(c Conn)
gnet_test.go:956
MethodOnOpen
(Conn)
gnet_test.go:1036
MethodOnOpen
(Conn)
gnet_test.go:1196
MethodOnOpen
(Conn)
gnet_test.go:1240
MethodOnOpen
(c Conn)
gnet_test.go:1761
MethodOnOpen
(c Conn)
gnet_test.go:2195
MethodOnOpen
(c Conn)
gnet_test.go:2525
MethodOnOpen
(c Conn)
gnet_test.go:2779
MethodOnOpen
(Conn)
client_test.go:53
MethodOnOpen
(c Conn)
client_test.go:386
MethodOnOpen
(_ Conn)
client_test.go:643
MethodOnOpen
(Conn)
client_test.go:783
MethodOnOpen
(c Conn)
client_test.go:877
MethodOnShutdown
(_ Engine)
os_unix_test.go:279
MethodOnShutdown
OnShutdown fires when the engine is being shut down, it is called right after all event-loops and connections are closed.
gnet.go:530
MethodOnShutdown
(_ Engine)
gnet_test.go:596
MethodOnShutdown
(e Engine)
gnet_test.go:1245
MethodOnShutdown
(eng Engine)
gnet_test.go:2190
MethodOnShutdown
(Engine)
gnet_test.go:2520
MethodOnShutdown
(e Engine)
client_test.go:89
MethodOnShutdown
(Engine)
client_test.go:411
MethodOnTick
()
os_unix_test.go:147
MethodOnTick
()
os_unix_test.go:170
MethodOnTick
()
os_unix_test.go:283
MethodOnTick
()
gnet_test.go:752
MethodOnTick
()
gnet_test.go:920
MethodOnTick
()
gnet_test.go:972
MethodOnTick
()
gnet_test.go:1046
MethodOnTick
()
gnet_test.go:1114
MethodOnTick
()
gnet_test.go:1159
MethodOnTick
()
gnet_test.go:1206
MethodOnTick
()
gnet_test.go:1254
MethodOnTick
()
gnet_test.go:1299
MethodOnTick
()
gnet_test.go:1358
MethodOnTick
()
gnet_test.go:1420
MethodOnTick
()
gnet_test.go:1488
MethodOnTick
()
gnet_test.go:1703
MethodOnTick
()
gnet_test.go:1811
MethodOnTick
()
gnet_test.go:2065
MethodOnTick
()
gnet_test.go:2311
MethodOnTick
()
gnet_test.go:2561
MethodOnTick
()
client_test.go:84
MethodOnTick
()
client_test.go:470
MethodOnTick
()
client_test.go:655
MethodOnTraffic
(c Conn)
os_unix_test.go:137
MethodOnTraffic
(c Conn)
os_unix_test.go:269
MethodOnTraffic
(c Conn)
gnet_test.go:632
MethodOnTraffic
(c Conn)
gnet_test.go:966
MethodOnTraffic
(c Conn)
gnet_test.go:1101
MethodOnTraffic
(c Conn)
gnet_test.go:1151
MethodOnTraffic
(c Conn)
gnet_test.go:1291
MethodOnTraffic
(c Conn)
gnet_test.go:1342
MethodOnTraffic
(c Conn)
gnet_test.go:1413
MethodOnTraffic
(c Conn)
gnet_test.go:1480
MethodOnTraffic
(c Conn)
gnet_test.go:1591
MethodOnTraffic
(c Conn)
gnet_test.go:1660
MethodOnTraffic
(c Conn)
gnet_test.go:1784
MethodOnTraffic
(c Conn)
gnet_test.go:2045
MethodOnTraffic
(c Conn)
gnet_test.go:2292
MethodOnTraffic
(c Conn)
gnet_test.go:2536
MethodOnTraffic
(c Conn)
gnet_test.go:2814
MethodOnTraffic
(c Conn)
client_test.go:67
MethodOnTraffic
(c Conn)
client_test.go:417
MethodOnTraffic
(c Conn)
client_test.go:598
MethodOnTraffic
(c Conn)
client_test.go:791
MethodOnTraffic
(c Conn)
client_test.go:913
FunctionOpenPoller
OpenPoller instantiates a poller.
pkg/netpoll/poller_epoll_ultimate.go:45
FunctionOpenPoller
OpenPoller instantiates a poller.
pkg/netpoll/poller_epoll_default.go:46
FunctionOpenPoller
OpenPoller instantiates a poller.
pkg/netpoll/poller_kqueue_default.go:43
MethodOutboundBuffered
()
connection_windows.go:295
MethodOutboundBuffered
()
connection_unix.go:460
MethodPeek
(n int)
connection_windows.go:171
MethodPeek
(n int)
connection_unix.go:352
MethodPeek
Peek returns the next n bytes without advancing the read pointer, it returns all bytes when n <= 0.
pkg/buffer/ring/ring_buffer.go:71
MethodPeek
Peek returns n bytes as [][]byte, these bytes won't be discarded until Buffer.Discard() is called.
pkg/buffer/elastic/elastic_ring_list_buffer.go:56
MethodPeek
Peek returns the next n bytes without advancing the read pointer, it returns all bytes when n <= 0.
pkg/buffer/elastic/elastic_ring_buffer.go:55
MethodPeek
Peek assembles the up to maxBytes of [][]byte based on the list of node, it won't remove these nodes from l until Discard() is called.
pkg/buffer/linkedlist/linked_list_buffer.go:120
MethodPolling
Polling blocks the current goroutine, monitoring the registered file descriptors and waiting for network I/O. When I/O occurs on any of the file descr
pkg/netpoll/poller_kqueue_ultimate.go:96
MethodPolling
Polling blocks the current goroutine, monitoring the registered file descriptors and waiting for network I/O. When I/O occurs on any of the file descr
pkg/netpoll/poller_epoll_ultimate.go:116
MethodPolling
Polling blocks the current goroutine, monitoring the registered file descriptors and waiting for network I/O. When I/O occurs on any of the file descr
pkg/netpoll/poller_kqueue_default.go:95
MethodPop
Pop removes and returns the buffer of the head or nil if the list is empty.
pkg/buffer/linkedlist/linked_list_buffer.go:88
MethodPushFront
PushFront is a wrapper of pushFront, which accepts []byte as its argument.
pkg/buffer/linkedlist/linked_list_buffer.go:97
FunctionPut
Put returns byte buffer to the pool. RingBuffer mustn't be touched after returning it to the pool, otherwise, data races will occur.
pkg/pool/ringbuffer/ringbuffer.go:84
MethodRead
Read reads data from the Buffer.
pkg/buffer/elastic/elastic_ring_list_buffer.go:44
MethodReadByte
ReadByte reads and returns the next byte from the input or ErrIsEmpty.
pkg/buffer/elastic/elastic_ring_buffer.go:93
MethodReadFrom
(r io.Reader)
connection_windows.go:263
MethodReadFrom
ReadFrom implements io.ReaderFrom.
pkg/buffer/elastic/elastic_ring_list_buffer.go:135
FunctionReadv
Readv invokes the readv system call directly. Note that SYS_READV is about to be deprecated on Darwin and the Go team suggested to use libSystem wrap
pkg/io/io_bsd.go:47
FunctionReadv
Readv calls readv() on Linux.
pkg/io/io_linux.go:31
MethodRegister
(ctx context.Context, addr net.Addr)
eventloop_unix.go:52
MethodRegister
Register registers the new connection to the event-loop that is chosen based off of the algorithm set by WithLoadBalancing. You should call either of
gnet.go:92
MethodRegister
(ctx context.Context, addr net.Addr)
eventloop_windows.go:40
MethodRemoteAddr
()
connection_windows.go:302
MethodRemoteAddr
()
connection_unix.go:467
MethodRun
Run executes the RunnableFunc itself.
gnet.go:390
MethodSafeContext
()
connection_windows.go:584
MethodSafeContext
()
connection_unix.go:566
MethodSchedule
(context.Context, Runnable, time.Duration)
eventloop_unix.go:84
← previousnext →501–600 of 759, ranked by callers