MCPcopy Create free account

hub / github.com/tidwall/evio / functions

Functions129 in github.com/tidwall/evio

↓ 17 callersMethodAdd
(note interface{})
internal/notequeue.go:16
↓ 16 callersFunctionServe
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 callersMethodClose
()
evio_unix.go:459
↓ 14 callersFunctionmust
(err error)
evio_test.go:181
↓ 12 callersFunctiontestServe
(network, addr string, unix bool, nclients, nloops int, balance LoadBalance)
evio_test.go:79
↓ 10 callersMethodWait
Wait ...
internal/internal_bsd.go:57
↓ 10 callersMethodWrite
(p []byte)
evio_unix.go:482
↓ 8 callersFunctionmust
(err error)
benchmarks/analyze.go:121
↓ 6 callersMethodRead
(p []byte)
evio_unix.go:468
↓ 5 callersMethodBegin
Begin accepts a new packet and returns a working sequence of unprocessed bytes.
evio.go:200
↓ 5 callersFunctionloopCloseConn
(s *server, l *loop, c *conn, err error)
evio_unix.go:161
↓ 4 callersMethodEnd
End shifts the stream to match the unprocessed data.
evio.go:210
↓ 4 callersMethodRemoteAddr
RemoteAddr is the connection's remote peer address.
evio.go:62
↓ 4 callersFunctiontestDetach
(network, addr string, stdlib bool)
evio_test.go:323
↓ 4 callersFunctiontestShutdown
(network, addr string, stdlib bool)
evio_test.go:258
↓ 4 callersFunctiontestTick
(network, addr string, stdlib bool)
evio_test.go:210
↓ 3 callersMethodClose
()
evio_std.go:368
↓ 3 callersMethodContext
Context returns a user-defined context.
evio.go:54
↓ 3 callersMethodModRead
ModRead ...
internal/internal_bsd.go:102
↓ 3 callersMethodSetContext
SetContext sets a user-defined context.
evio.go:56
↓ 3 callersMethodTrigger
Trigger ...
internal/internal_bsd.go:46
↓ 3 callersFunctionappendresp
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 callersMethodclose
()
evio_unix.go:494
↓ 3 callersFunctionoutput
()
benchmarks/analyze.go:105
↓ 3 callersFunctionstdloopClose
(s *stdserver, l *stdloop, c *stdconn)
evio_std.go:423
↓ 2 callersMethodForEach
(iter func(note interface{}) error)
internal/notequeue.go:24
↓ 2 callersMethodLocalAddr
LocalAddr is the connection's local socket address.
evio.go:60
↓ 2 callersMethodModReadWrite
ModReadWrite ...
internal/internal_bsd.go:109
↓ 2 callersFunctionSockaddrToAddr
SockaddrToAddr returns a go/net friendly address
internal/socktoaddr.go:13
↓ 2 callersMethodWrite
(p []byte)
evio_std.go:364
↓ 2 callersFunctionautoplot
()
benchmarks/analyze.go:28
↓ 2 callersMethodsignalShutdown
signalShutdown signals a shutdown an begins server closing
evio_std.go:94
↓ 2 callersFunctionstdloopDetach
(s *stdserver, l *stdloop, c *stdconn)
evio_std.go:417
↓ 2 callersFunctionstdloopError
(s *stdserver, l *stdloop, c *stdconn, err error)
evio_std.go:308
↓ 2 callersFunctionstdloopRead
(s *stdserver, l *stdloop, c *stdconn, in []byte)
evio_std.go:374
↓ 2 callersFunctionstdserve
(events Events, listeners []*listener)
evio_std.go:101
↓ 1 callersMethodAddRead
AddRead ...
internal/internal_bsd.go:81
↓ 1 callersMethodAddRead
AddRead ...
internal/internal_linux.go:91
↓ 1 callersMethodAddReadWrite
AddReadWrite ...
internal/internal_bsd.go:90
↓ 1 callersMethodClose
Close ...
internal/internal_linux.go:38
↓ 1 callersMethodModDetach
ModDetach ...
internal/internal_bsd.go:116
↓ 1 callersFunctionOpenPoll
OpenPoll ...
internal/internal_bsd.go:21
↓ 1 callersMethodRead
(p []byte)
evio_std.go:348
↓ 1 callersFunctionSetKeepAlive
SetKeepAlive sets the keepalive for the connection
internal/internal_openbsd.go:8
↓ 1 callersMethodWake
Wake triggers a Data event for this connection.
evio.go:64
↓ 1 callersFunctionaddCommas
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 callersFunctionanalyze
()
benchmarks/analyze.go:44
↓ 1 callersFunctionappendhandle
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 callersFunctionloopAccept
(s *server, l *loop, fd int)
evio_unix.go:258
↓ 1 callersFunctionloopAction
(s *server, l *loop, c *conn)
evio_unix.go:397
↓ 1 callersFunctionloopDetachConn
(s *server, l *loop, c *conn, err error)
evio_unix.go:175
↓ 1 callersFunctionloopNote
(s *server, l *loop, note interface{})
evio_unix.go:194
↓ 1 callersFunctionloopOpened
(s *server, l *loop, c *conn)
evio_unix.go:345
↓ 1 callersFunctionloopRead
(s *server, l *loop, c *conn)
evio_unix.go:429
↓ 1 callersFunctionloopRun
(s *server, l *loop)
evio_unix.go:217
↓ 1 callersFunctionloopTicker
(s *server, l *loop)
evio_unix.go:249
↓ 1 callersFunctionloopUDPRead
(s *server, l *loop, lnidx, fd int)
evio_unix.go:304
↓ 1 callersFunctionloopWake
(s *server, l *loop, c *conn)
evio_unix.go:414
↓ 1 callersFunctionloopWrite
(s *server, l *loop, c *conn)
evio_unix.go:369
↓ 1 callersFunctionparseAddr
(addr string)
evio.go:235
↓ 1 callersFunctionparsereq
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 callersFunctionplotit
(path, title string, values []float64, names []string)
benchmarks/analyze.go:127
↓ 1 callersFunctionreadlines
(paths ...string)
benchmarks/analyze.go:112
↓ 1 callersFunctionreuseportListen
(proto, addr string)
evio_unix.go:539
↓ 1 callersFunctionreuseportListenPacket
(proto, addr string)
evio_unix.go:535
↓ 1 callersFunctionround
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 callersFunctionserve
(events Events, listeners []*listener)
evio_unix.go:84
↓ 1 callersMethodsignalShutdown
signalShutdown signals a shutdown an begins server closing
evio_unix.go:78
↓ 1 callersFunctionstartClient
(network, addr string, nloops int)
evio_test.go:142
↓ 1 callersFunctionstdlistenerRun
(s *stdserver, ln *listener, lnidx int)
evio_std.go:177
↓ 1 callersFunctionstdloopAccept
(s *stdserver, l *stdloop, c *stdconn)
evio_std.go:429
↓ 1 callersFunctionstdloopEgress
(s *stdserver, l *stdloop)
evio_std.go:287
↓ 1 callersFunctionstdloopReadUDP
(s *stdserver, l *stdloop, c *stdudpconn)
evio_std.go:400
↓ 1 callersFunctionstdloopRun
(s *stdserver, l *stdloop)
evio_std.go:225
↓ 1 callersMethodsystem
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 callersMethodwaitForShutdown
waitForShutdown waits for a signal to shutdown
evio_std.go:85
↓ 1 callersMethodwaitForShutdown
waitForShutdown waits for a signal to shutdown
evio_unix.go:71
MethodAddReadWrite
AddReadWrite ...
internal/internal_linux.go:80
MethodAddrIndex
AddrIndex is the index of server address that was passed to the Serve call.
evio.go:58
MethodAddrIndex
()
evio_std.go:40
MethodAddrIndex
()
evio_std.go:69
MethodAddrIndex
()
evio_unix.go:40
MethodClose
Close ...
internal/internal_bsd.go:41
MethodContext
()
evio_std.go:38
MethodContext
()
evio_std.go:67
MethodContext
()
evio_unix.go:38
MethodLocalAddr
()
evio_std.go:41
MethodLocalAddr
()
evio_std.go:70
MethodLocalAddr
()
evio_unix.go:41
MethodModDetach
ModDetach ...
internal/internal_linux.go:124
MethodModRead
ModRead ...
internal/internal_linux.go:102
MethodModReadWrite
ModReadWrite ...
internal/internal_linux.go:113
FunctionOpenPoll
OpenPoll ...
internal/internal_linux.go:20
MethodRemoteAddr
()
evio_std.go:42
MethodRemoteAddr
()
evio_std.go:71
MethodRemoteAddr
()
evio_unix.go:42
MethodSetContext
(ctx interface{})
evio_std.go:39
MethodSetContext
(ctx interface{})
evio_std.go:68
MethodSetContext
(ctx interface{})
evio_unix.go:39
FunctionSetKeepAlive
SetKeepAlive sets the keepalive for the connection
internal/internal_darwin.go:10
next →1–100 of 129, ranked by callers