Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tidwall/evio
/ functions
Functions
129 in github.com/tidwall/evio
⨍
Functions
129
◇
Types & classes
28
↓ 17 callers
Method
Add
(note interface{})
internal/notequeue.go:16
↓ 16 callers
Function
Serve
Serve starts handling events for the specified addresses. Addresses should use a scheme prefix and be formatted like `tcp://192.168.0.10:9851` or `un
evio.go:141
↓ 15 callers
Method
Close
()
evio_unix.go:459
↓ 14 callers
Function
must
(err error)
evio_test.go:181
↓ 12 callers
Function
testServe
(network, addr string, unix bool, nclients, nloops int, balance LoadBalance)
evio_test.go:79
↓ 10 callers
Method
Wait
Wait ...
internal/internal_bsd.go:57
↓ 10 callers
Method
Write
(p []byte)
evio_unix.go:482
↓ 8 callers
Function
must
(err error)
benchmarks/analyze.go:121
↓ 6 callers
Method
Read
(p []byte)
evio_unix.go:468
↓ 5 callers
Method
Begin
Begin accepts a new packet and returns a working sequence of unprocessed bytes.
evio.go:200
↓ 5 callers
Function
loopCloseConn
(s *server, l *loop, c *conn, err error)
evio_unix.go:161
↓ 4 callers
Method
End
End shifts the stream to match the unprocessed data.
evio.go:210
↓ 4 callers
Method
RemoteAddr
RemoteAddr is the connection's remote peer address.
evio.go:62
↓ 4 callers
Function
testDetach
(network, addr string, stdlib bool)
evio_test.go:323
↓ 4 callers
Function
testShutdown
(network, addr string, stdlib bool)
evio_test.go:258
↓ 4 callers
Function
testTick
(network, addr string, stdlib bool)
evio_test.go:210
↓ 3 callers
Method
Close
()
evio_std.go:368
↓ 3 callers
Method
Context
Context returns a user-defined context.
evio.go:54
↓ 3 callers
Method
ModRead
ModRead ...
internal/internal_bsd.go:102
↓ 3 callers
Method
SetContext
SetContext sets a user-defined context.
evio.go:56
↓ 3 callers
Method
Trigger
Trigger ...
internal/internal_bsd.go:46
↓ 3 callers
Function
appendresp
appendresp will append a valid http response to the provide bytes. The status param should be the code plus text such as "200 OK". The head parameter
examples/http-server/main.go:133
↓ 3 callers
Method
close
()
evio_unix.go:494
↓ 3 callers
Function
output
()
benchmarks/analyze.go:105
↓ 3 callers
Function
stdloopClose
(s *stdserver, l *stdloop, c *stdconn)
evio_std.go:423
↓ 2 callers
Method
ForEach
(iter func(note interface{}) error)
internal/notequeue.go:24
↓ 2 callers
Method
LocalAddr
LocalAddr is the connection's local socket address.
evio.go:60
↓ 2 callers
Method
ModReadWrite
ModReadWrite ...
internal/internal_bsd.go:109
↓ 2 callers
Function
SockaddrToAddr
SockaddrToAddr returns a go/net friendly address
internal/socktoaddr.go:13
↓ 2 callers
Method
Write
(p []byte)
evio_std.go:364
↓ 2 callers
Function
autoplot
()
benchmarks/analyze.go:28
↓ 2 callers
Method
signalShutdown
signalShutdown signals a shutdown an begins server closing
evio_std.go:94
↓ 2 callers
Function
stdloopDetach
(s *stdserver, l *stdloop, c *stdconn)
evio_std.go:417
↓ 2 callers
Function
stdloopError
(s *stdserver, l *stdloop, c *stdconn, err error)
evio_std.go:308
↓ 2 callers
Function
stdloopRead
(s *stdserver, l *stdloop, c *stdconn, in []byte)
evio_std.go:374
↓ 2 callers
Function
stdserve
(events Events, listeners []*listener)
evio_std.go:101
↓ 1 callers
Method
AddRead
AddRead ...
internal/internal_bsd.go:81
↓ 1 callers
Method
AddRead
AddRead ...
internal/internal_linux.go:91
↓ 1 callers
Method
AddReadWrite
AddReadWrite ...
internal/internal_bsd.go:90
↓ 1 callers
Method
Close
Close ...
internal/internal_linux.go:38
↓ 1 callers
Method
ModDetach
ModDetach ...
internal/internal_bsd.go:116
↓ 1 callers
Function
OpenPoll
OpenPoll ...
internal/internal_bsd.go:21
↓ 1 callers
Method
Read
(p []byte)
evio_std.go:348
↓ 1 callers
Function
SetKeepAlive
SetKeepAlive sets the keepalive for the connection
internal/internal_openbsd.go:8
↓ 1 callers
Method
Wake
Wake triggers a Data event for this connection.
evio.go:64
↓ 1 callers
Function
addCommas
AddCommas adds commas after every 3 characters from right to left. NOTE: This function is a quick hack, it doesn't work with decimal points, and may h
benchmarks/analyze.go:256
↓ 1 callers
Function
analyze
()
benchmarks/analyze.go:44
↓ 1 callers
Function
appendhandle
appendhandle handles the incoming request and appends the response to the provided bytes, which is then returned to the caller.
examples/http-server/main.go:126
↓ 1 callers
Function
loopAccept
(s *server, l *loop, fd int)
evio_unix.go:258
↓ 1 callers
Function
loopAction
(s *server, l *loop, c *conn)
evio_unix.go:397
↓ 1 callers
Function
loopDetachConn
(s *server, l *loop, c *conn, err error)
evio_unix.go:175
↓ 1 callers
Function
loopNote
(s *server, l *loop, note interface{})
evio_unix.go:194
↓ 1 callers
Function
loopOpened
(s *server, l *loop, c *conn)
evio_unix.go:345
↓ 1 callers
Function
loopRead
(s *server, l *loop, c *conn)
evio_unix.go:429
↓ 1 callers
Function
loopRun
(s *server, l *loop)
evio_unix.go:217
↓ 1 callers
Function
loopTicker
(s *server, l *loop)
evio_unix.go:249
↓ 1 callers
Function
loopUDPRead
(s *server, l *loop, lnidx, fd int)
evio_unix.go:304
↓ 1 callers
Function
loopWake
(s *server, l *loop, c *conn)
evio_unix.go:414
↓ 1 callers
Function
loopWrite
(s *server, l *loop, c *conn)
evio_unix.go:369
↓ 1 callers
Function
parseAddr
(addr string)
evio.go:235
↓ 1 callers
Function
parsereq
parsereq is a very simple http request parser. This operation waits for the entire payload to be buffered before returning a valid request.
examples/http-server/main.go:158
↓ 1 callers
Function
plotit
(path, title string, values []float64, names []string)
benchmarks/analyze.go:127
↓ 1 callers
Function
readlines
(paths ...string)
benchmarks/analyze.go:112
↓ 1 callers
Function
reuseportListen
(proto, addr string)
evio_unix.go:539
↓ 1 callers
Function
reuseportListenPacket
(proto, addr string)
evio_unix.go:535
↓ 1 callers
Function
round
round returns the half away from zero rounded value of x with a prec precision. Special cases are: round(±0) = +0 round(±Inf) = ±Inf round(NaN) =
benchmarks/analyze.go:282
↓ 1 callers
Function
serve
(events Events, listeners []*listener)
evio_unix.go:84
↓ 1 callers
Method
signalShutdown
signalShutdown signals a shutdown an begins server closing
evio_unix.go:78
↓ 1 callers
Function
startClient
(network, addr string, nloops int)
evio_test.go:142
↓ 1 callers
Function
stdlistenerRun
(s *stdserver, ln *listener, lnidx int)
evio_std.go:177
↓ 1 callers
Function
stdloopAccept
(s *stdserver, l *stdloop, c *stdconn)
evio_std.go:429
↓ 1 callers
Function
stdloopEgress
(s *stdserver, l *stdloop)
evio_std.go:287
↓ 1 callers
Function
stdloopReadUDP
(s *stdserver, l *stdloop, c *stdudpconn)
evio_std.go:400
↓ 1 callers
Function
stdloopRun
(s *stdserver, l *stdloop)
evio_std.go:225
↓ 1 callers
Method
system
system takes the net listener and detaches it from it's parent event loop, grabs the file descriptor, and makes it non-blocking.
evio_unix.go:514
↓ 1 callers
Method
waitForShutdown
waitForShutdown waits for a signal to shutdown
evio_std.go:85
↓ 1 callers
Method
waitForShutdown
waitForShutdown waits for a signal to shutdown
evio_unix.go:71
Method
AddReadWrite
AddReadWrite ...
internal/internal_linux.go:80
Method
AddrIndex
AddrIndex is the index of server address that was passed to the Serve call.
evio.go:58
Method
AddrIndex
()
evio_std.go:40
Method
AddrIndex
()
evio_std.go:69
Method
AddrIndex
()
evio_unix.go:40
Method
Close
Close ...
internal/internal_bsd.go:41
Method
Context
()
evio_std.go:38
Method
Context
()
evio_std.go:67
Method
Context
()
evio_unix.go:38
Method
LocalAddr
()
evio_std.go:41
Method
LocalAddr
()
evio_std.go:70
Method
LocalAddr
()
evio_unix.go:41
Method
ModDetach
ModDetach ...
internal/internal_linux.go:124
Method
ModRead
ModRead ...
internal/internal_linux.go:102
Method
ModReadWrite
ModReadWrite ...
internal/internal_linux.go:113
Function
OpenPoll
OpenPoll ...
internal/internal_linux.go:20
Method
RemoteAddr
()
evio_std.go:42
Method
RemoteAddr
()
evio_std.go:71
Method
RemoteAddr
()
evio_unix.go:42
Method
SetContext
(ctx interface{})
evio_std.go:39
Method
SetContext
(ctx interface{})
evio_std.go:68
Method
SetContext
(ctx interface{})
evio_unix.go:39
Function
SetKeepAlive
SetKeepAlive sets the keepalive for the connection
internal/internal_darwin.go:10
next →
1–100 of 129, ranked by callers