MCPcopy Create free account

hub / github.com/andeya/erpc / functions

Functions1,742 in github.com/andeya/erpc

↓ 2 callersFunctionNewReadWriteCounter
NewReadWriteCounter wrap the reader and writer with counter.
utils/rw_counter.go:16
↓ 2 callersFunctionNewServer
NewServer creates a evio server.
mixer/evio/evio.go:33
↓ 2 callersFunctionNewStructProtoFunc
NewStructProtoFunc creates erpc.ProtoFunc of Thrift protocol. NOTE: The body codec must be thrift, directly encoded as a thrift.TStruct; Support th
proto/thriftproto/struct_proto.go:20
↓ 2 callersFunctionNewWsProtoFunc
NewWsProtoFunc wraps a protocol to a new websocket protocol.
mixer/websocket/proto.go:30
↓ 2 callersFunctionNewXferPipe
NewXferPipe creates a new transfer filter pipe.
xfer/xfer.go:86
↓ 2 callersFunctionOrigin
Origin parses the Origin header in req. If the Origin header is not set, it returns nil and nil.
mixer/websocket/websocket/hybi.go:539
↓ 2 callersMethodOutput
Output writes log, can append time, line and so on information.
log.go:37
↓ 2 callersMethodPack
Pack writes the Message into the connection. NOTE: Make sure to write only once or there will be package contamination!
socket/protocol.go:38
↓ 2 callersMethodPanicf
Panicf is equivalent to Criticalf followed by a call to panic().
log.go:55
↓ 2 callersMethodPeekMulti
PeekMulti returns all the arg values for the given key.
utils/args.go:205
↓ 2 callersMethodPostListen
(net.Addr)
plugin.go:50
↓ 2 callersMethodPostReadCallBody
(ctx erpc.ReadCtx)
plugin/secure/secure.go:200
↓ 2 callersMethodPreReadCallBody
(ctx erpc.ReadCtx)
plugin/secure/secure.go:177
↓ 2 callersMethodPreWriteCall
(ctx erpc.WriteCtx)
plugin/secure/secure.go:144
↓ 2 callersMethodReaded
Readed returns readed bytes length.
utils/rw_counter.go:58
↓ 2 callersFunctionReg
Reg registers transfer filter.
xfer/xfer.go:48
↓ 2 callersMethodRemoteAddr
RemoteAddr returns the remote network address.
session.go:385
↓ 2 callersMethodRemoteAddr
RemoteAddr returns the remote network address.
socket/socket.go:44
↓ 2 callersMethodResetServiceMethod
ResetServiceMethod resets the input message service method.
context.go:75
↓ 2 callersMethodSetInherited
SetInherited adds the files and envs to be inherited by the new process. Notes: Only for reboot! Windows system are not supported!
kcp/inherit.go:175
↓ 2 callersFunctionSetNoDelay
SetNoDelay controls whether the operating system should delay message transmission in hopes of sending fewer messages (Nagle's algorithm). The defaul
socket/socket.go:465
↓ 2 callersMethodSetTLSConfigFromFile
SetTLSConfigFromFile sets the TLS config from file.
peer.go:46
↓ 2 callersMethodSetUnknownPush
SetUnknownPush sets the default handler, which is called when no handler for PUSH is found.
peer.go:70
↓ 2 callersMethodSize
()
mixer/websocket/pbSubProto/pb/payload.pb.go:190
↓ 2 callersMethodSize
()
socket/example/pb/test.pb.go:115
↓ 2 callersMethodStatus
Status returns the message status with code, msg, cause or stack. NOTE: If it is nil and autoInit = true, assign a new object; Should use StatusOK to
socket/message.go:97
↓ 2 callersMethodStatusOK
StatusOK returns the handle status is OK or not.
context.go:83
↓ 2 callersMethodTimeout
(arg *string)
examples/session_age/server_test.go:40
↓ 2 callersMethodTracef
Tracef logs a message using TRACE as log level.
log.go:83
↓ 2 callersMethodTrailerReader
TrailerReader returns a reader to read trailer of the frame. If it returns nil, there is no trailer in the frame.
mixer/websocket/websocket/websocket.go:133
↓ 2 callersMethodUnpack
Unpack reads bytes from the connection to the Message. NOTE: Concurrent unsafe!
socket/protocol.go:41
↓ 2 callersFunctionWithAddMeta
WithAddMeta adds 'key=value' metadata argument. Multiple values for the same key may be added. SUGGEST: urlencoded string max len ≤ 65535!
socket/message.go:491
↓ 2 callersMethodWriteClose
(status int)
mixer/websocket/websocket/hybi.go:308
↓ 2 callersMethodWritePing
(b []byte)
mixer/websocket/websocket/websocket_test.go:59
↓ 2 callersMethodWritePong
(msg []byte)
mixer/websocket/websocket/hybi.go:322
↓ 2 callersMethodWrited
Writed returns writed bytes length.
utils/rw_counter.go:96
↓ 2 callersMethodcloseLocked
()
session.go:776
↓ 2 callersFunctionctrlStructName
(ctype reflect.Type)
router.go:909
↓ 2 callersMethoddialOne
dialOne dials the connection once.
dialer.go:129
↓ 2 callersMethodelemCopy
()
plugin/heartbeat/info.go:41
↓ 2 callersFunctionencodeVarintSecure
(dAtA []byte, offset int, v uint64)
plugin/secure/secure.pb.go:110
↓ 2 callersFunctionencodeVarintTest
(dAtA []byte, offset int, v uint64)
socket/example/pb/test.pb.go:106
↓ 2 callersFunctionfixRootPath
(rootPath string)
mixer/websocket/client.go:67
↓ 2 callersMethodgetContext
(s *session, withWg bool)
peer.go:440
↓ 2 callersFunctiongetMd5
Get md5 data
xfer/md5/md5.go:68
↓ 2 callersMethodgetNow
()
plugin/overloader/connlimiter.go:40
↓ 2 callersMethodgetPingRateSecond
()
plugin/heartbeat/ping.go:105
↓ 2 callersFunctiongetProto
(protoFuncs []ProtoFunc, rw IOWithReadBuffer)
socket/socket.go:469
↓ 2 callersMethodgoonRead
()
session.go:260
↓ 2 callersMethodgraceCtxWait
()
session.go:300
↓ 2 callersFunctionhandelHeartbeat
(sess erpc.CtxSession, peekMeta func(string) []byte)
plugin/heartbeat/pong.go:141
↓ 2 callersFunctionhandlerFuncName
(v reflect.Value)
router.go:914
↓ 2 callersFunctionhasArg
(h []argsKV, key string)
utils/args.go:387
↓ 2 callersFunctioninitHeartbeatInfo
(m goutil.Map, rate time.Duration)
plugin/heartbeat/info.go:64
↓ 2 callersMethodinitOptimize
()
socket/socket.go:343
↓ 2 callersFunctionisSecure
func (e *decryptPlugin) Name() string { return "decrypt" } func (e *encryptPlugin) Name() string { return "encrypt" }
plugin/secure/secure.go:131
↓ 2 callersFunctionn256setup
()
utils/color/colorable_windows.go:772
↓ 2 callersFunctionnewQPSLimiter
(maxQPS int32, qpsInterval time.Duration)
plugin/overloader/qpslimiter.go:16
↓ 2 callersFunctionnewSession
(t *testing.T, port uint16)
plugin/secure/secure_test.go:32
↓ 2 callersFunctionnewSocket
(c net.Conn, protoFuncs []ProtoFunc)
socket/socket.go:161
↓ 2 callersFunctionnewTLSConfig
(cert tls.Certificate, insecureSkipVerifyForClient ...bool)
helper.go:207
↓ 2 callersMethodnotifyClosed
()
session.go:264
↓ 2 callersFunctionparseBool
(val string)
plugin/binder/binder.go:800
↓ 2 callersFunctionparseTuple
(tuple string)
plugin/binder/binder.go:543
↓ 2 callersMethodpostAccept
PostAccept executes the defined plugins after accepting connection.
plugin.go:421
↓ 2 callersMethodpostDial
postDial executes the defined plugins after dialing.
plugin.go:396
↓ 2 callersMethodpostDisconnect
PostDisconnect executes the defined plugins after disconnection.
plugin.go:672
↓ 2 callersMethodpreDial
preDial executes the defined plugins before dialing.
plugin.go:371
↓ 2 callersMethodreadLine
(bb *utils.ByteBuffer)
proto/httproto/httproto.go:416
↓ 2 callersFunctionreadMessageBegin
readMessageBegin read a message header.
proto/thriftproto/binary_proto.go:178
↓ 2 callersMethodrecordCost
()
context.go:413
↓ 2 callersMethodserveWebSocket
(w http.ResponseWriter, req *http.Request)
mixer/websocket/websocket/server.go:73
↓ 2 callersFunctionsetFloatField
(val string, bitSize int, field reflect.Value)
codec/form_codec.go:277
↓ 2 callersMethodstartTicker
()
plugin/overloader/qpslimiter.go:65
↓ 2 callersFunctiontoHSV
(rgb int)
utils/color/colorable_windows.go:699
↓ 2 callersFunctiontoServiceMethods
toServiceMethods maps struct(func) name to service methods.
router.go:76
↓ 2 callersFunctionunifyLocalhost
(host *string)
graceful.go:177
↓ 2 callersMethodunpack
(m erpc.Message, bb *utils.ByteBuffer)
proto/httproto/httproto.go:337
↓ 2 callersMethodupdate
(ctx erpc.PreCtx)
plugin/heartbeat/ping.go:225
↓ 2 callersMethodupdate
(ctx erpc.ReadCtx)
plugin/heartbeat/pong.go:114
↓ 2 callersFunctionwriteMessageBegin
writeMessageBegin write a message header to the wire.
proto/thriftproto/binary_proto.go:164
↓ 1 callersMethodAcceptHandshake
AcceptHandshake accepts the client handshake request and sends handshake response back to client.
mixer/websocket/websocket/websocket.go:114
↓ 1 callersMethodAppendBytes
AppendBytes appends query string to dst and returns the extended dst.
utils/args.go:109
↓ 1 callersMethodAppendFrom
AppendFrom appends transfer filters from a *XferPipe.
xfer/xfer.go:108
↓ 1 callersFunctionAppendHTMLEscape
AppendHTMLEscape appends html-escaped s to dst and returns the extended dst.
utils/bytesconv.go:18
↓ 1 callersMethodAppendLeft
AppendLeft appends plugins on the left side of the pluginContainer.
plugin.go:194
↓ 1 callersMethodAppendRight
AppendRight appends plugins on the right side of the pluginContainer.
plugin.go:200
↓ 1 callersMethodAsyncCall
AsyncCall sends a message and receives reply asynchronously. NOTE: If the args is []byte or *[]byte type, it can automatically fill in the body codec
session.go:665
↓ 1 callersMethodAsyncCall
AsyncCall sends a message and receives reply asynchronously. If the arg is []byte or *[]byte type, it can automatically fill in the body codec name.
mixer/multiclient/multiclient.go:67
↓ 1 callersMethodBlack
(msg interface{}, styles ...string)
utils/color/color.go:140
↓ 1 callersMethodBlackBg
(msg interface{}, styles ...string)
utils/color/color.go:176
↓ 1 callersMethodBlue
(msg interface{}, styles ...string)
utils/color/color.go:156
↓ 1 callersMethodBlueBg
(msg interface{}, styles ...string)
utils/color/color.go:192
↓ 1 callersMethodBold
(msg interface{}, styles ...string)
utils/color/color.go:212
↓ 1 callersMethodBuffered
Buffered returns the number of bytes that have been written into the current buffer.
utils/bufio_writer.go:65
↓ 1 callersMethodClose
Close closes the server.
mixer/websocket/server.go:110
↓ 1 callersMethodClose
Close implements the io.Closer interface.
mixer/websocket/websocket/websocket.go:234
↓ 1 callersMethodConfig
Config returns the WebSocket config.
mixer/websocket/websocket/websocket.go:291
↓ 1 callersMethodContext
Context returns the message handling context.
socket/message.go:60
↓ 1 callersMethodControlFD
ControlFD invokes f on the underlying connection's file descriptor or handle. The file descriptor fd is guaranteed to remain valid while f executes bu
session.go:52
← previousnext →301–400 of 1,742, ranked by callers