MCPcopy Create free account

hub / github.com/9nut/tcpmeter / functions

Functions32 in github.com/9nut/tcpmeter

↓ 3 callersMethodtimedaccept
accept with deadline will do a timed accept of the payload tcp, returning a TCPConn when possible
server.go:84
↓ 2 callersMethodMbps
Returns bitrate in Mega-bits per second
admui.go:28
↓ 2 callersMethodWrite
(p []byte)
server.go:18
↓ 1 callersFunctionClientMain
(haddr string)
client.go:283
↓ 1 callersFunctionDispatch
(ch chan<- Stats, cfg SrvConfig, worker TCPWorker)
client.go:135
↓ 1 callersMethodGetName
()
client.go:12
↓ 1 callersMethodGetRPC
()
client.go:14
↓ 1 callersFunctionLogClient
Continually log any stats, provide them on an output channel to downstream receivers (usually a CStatHandler)
logger.go:9
↓ 1 callersMethodRead
(p []byte)
server.go:22
↓ 1 callersMethodString
()
admui.go:47
↓ 1 callersFunctionTCPClient
TCPClient initiates Upload, Download or RTT measurements, based on the instructions sent to it over the Command chan and reports back its results over
client.go:243
↓ 1 callersFunctionTCPServer
TCPServer listens and handles RPC calls from clients.
server.go:175
↓ 1 callersFunctionWebUI
WebUI is an http server that provides an html UI to the user, annoucing itself at address that is passed in. It handles requests for starting and stop
admui.go:146
↓ 1 callersMethodWork
(stop <-chan bool, stats chan<- uint64, nbytes uint64, addr string)
client.go:13
↓ 1 callersFunctiongetformparams
parse and store form parameters in the map that's passed in
admui.go:120
MethodGetName
()
client.go:21
MethodGetName
()
client.go:82
MethodGetRPC
()
client.go:25
MethodGetRPC
()
client.go:86
MethodKBps
Returns bitrate in Kilo-bytes per second
admui.go:43
MethodKbps
Returns bitrate in Kilo-bits per second
admui.go:38
MethodMBps
Returns bitrate in Mega-bytes per second
admui.go:33
MethodServeHTTP
This handler parses the form from the user and initiates a TCPClient measurement.
admui.go:76
MethodServeHTTP
This handler deals with GET requests for TCPClient measurement results. It returns the measurements since last snapshot in json format.
admui.go:130
MethodTCPCpy
TCPCpy method listens on a TCP host/port specified in the TCPPerf receiver and once established, it copies everything it recieves back to the sender.
server.go:155
MethodTCPRcv
TCPRcv method tries to receive the number of bytes given by the first parameter on a TCP host/port specified in the TCPPerf reciever. If successful,
server.go:112
MethodTCPSnd
TCPSnd method tries to send the number of bytes given by the first parameter on a TCP host/port specified in the TCPPerf reciever. It will store the n
server.go:134
MethodTCPStart
TCPStart method prepares the tcp link that will be used for tcp performance testing
server.go:34
MethodTCPStop
TCPStop method tears down the tcp link that was used for tcp performance testing
server.go:73
MethodWork
TCPSender Work method uploads nbyte bytes to tcp address addr; if it receives anything on the stop channel sch, it exits. it periodically reports the
client.go:32
MethodWork
TCPReceiver Work method downloads nbyte bytes from tcp address addr; if it receives anything on the stop channel sch, it exits. it periodically report
client.go:93
Functionmain
()
main.go:12