MCPcopy Create free account

hub / github.com/andeya/erpc / functions

Functions1,742 in github.com/andeya/erpc

↓ 1 callersMethodPreDial
(localAddr net.Addr, remoteAddr string)
plugin.go:55
↓ 1 callersMethodPreHandshake
(r *http.Request)
mixer/websocket/server.go:208
↓ 1 callersMethodPreNewPeer
(*PeerConfig, *PluginContainer)
plugin.go:35
↓ 1 callersMethodPreReadCallBody
(ReadCtx)
plugin.go:110
↓ 1 callersMethodPreReadHeader
(PreCtx)
plugin.go:100
↓ 1 callersMethodPreReadPushBody
(ReadCtx)
plugin.go:125
↓ 1 callersMethodPreReadReplyBody
(ReadCtx)
plugin.go:140
↓ 1 callersMethodPreReceive
PreReceive temporarily receives message when the session is just builded, do not execute other plugins. NOTE: Cannot be called during the Non-PostDi
session.go:507
↓ 1 callersMethodPreWriteCall
(WriteCtx)
plugin.go:70
↓ 1 callersMethodPreWritePush
(WriteCtx)
plugin.go:90
↓ 1 callersMethodPreWriteReply
(WriteCtx)
plugin.go:80
↓ 1 callersMethodRandom
Random gets a Socket randomly. If third returned arg is false, mean no Socket is exist.
socket/socket_hub.go:68
↓ 1 callersMethodRaw
Raw returns the raw net.Conn
socket/socket.go:101
↓ 1 callersMethodRaw
Raw returns the raw net.Conn
socket/socket.go:172
↓ 1 callersMethodRawLocked
RawLocked returns the raw net.Conn, can be called in ProtoFunc. NOTE: Make sure the external is locked before calling
socket/socket.go:110
↓ 1 callersMethodReadField1
(ctx context.Context, iprot thrift.TProtocol)
proto/thriftproto/gen-go/thriftproto_test/test.go:74
↓ 1 callersMethodReadHandshake
ReadHandshake reads handshake request message from client. Returns http response code and error if any.
mixer/websocket/websocket/websocket.go:110
↓ 1 callersFunctionRed
(msg interface{}, styles ...string)
utils/color/color.go:252
↓ 1 callersMethodRed
(msg interface{}, styles ...string)
utils/color/color.go:144
↓ 1 callersMethodRedBg
(msg interface{}, styles ...string)
utils/color/color.go:180
↓ 1 callersMethodRedialTimes
RedialTimes returns the redial times.
dialer.go:77
↓ 1 callersFunctionReg
Reg registers a md5 checker filter for transfer.
xfer/md5/md5.go:13
↓ 1 callersMethodReply
Reply returns the call reply. NOTE: Inside, <-Done() is automatically called and blocked, until the call is completed!
context.go:695
↓ 1 callersMethodReplyBodyCodec
ReplyBodyCodec initializes and returns the reply message body codec id.
context.go:546
↓ 1 callersMethodRequest
Request returns the http request upgraded to the WebSocket. It is nil for client side.
mixer/websocket/websocket/websocket.go:295
↓ 1 callersMethodReset
Reset clears query args.
utils/args.go:49
↓ 1 callersMethodRouterTypeName
RouterTypeName returns the router type name.
router.go:964
↓ 1 callersMethodSeq
Seq returns the message sequence.
socket/message.go:78
↓ 1 callersFunctionServerStatus2
(ctx erpc.PushCtx, arg *string)
examples/route_func/client_test.go:61
↓ 1 callersMethodServiceMethod
ServiceMethod returns the serviec method. SUGGEST: max len ≤ 255!
socket/message.go:87
↓ 1 callersMethodSessionAge
SessionAge returns the session max age.
session.go:390
↓ 1 callersMethodSetBytesKV
SetBytesKV sets 'key=value' argument.
utils/args.go:186
↓ 1 callersMethodSetBytesV
SetBytesV sets 'key=value' argument.
utils/args.go:181
↓ 1 callersMethodSetErrorFunc
SetErrorFunc sets the binding or balidating error function. NOTE: If fn=nil, set as default.
plugin/binder/binder.go:107
↓ 1 callersMethodSetID
SetID sets the socket id.
socket/socket.go:97
↓ 1 callersMethodSetID
SetID sets the socket id.
socket/socket.go:287
↓ 1 callersFunctionSetInherited
SetInherited adds the files and envs to be inherited by the new process. Notes: Only for reboot! Windows system are not supported!
quic/inherit.go:32
↓ 1 callersMethodSetInherited
SetInherited adds the files and envs to be inherited by the new process. Notes: Only for reboot! Windows system are not supported!
quic/inherit.go:176
↓ 1 callersMethodSetKeepAlive
SetKeepAlive sets whether the operating system should send keepalive messages on the connection.
socket/socket.go:351
↓ 1 callersMethodSetKeepAlivePeriod
SetKeepAlivePeriod sets period between keep alives.
socket/socket.go:353
↓ 1 callersFunctionSetMessageSizeLimit
SetMessageSizeLimit sets max message size. If maxSize<=0, set it to 1GB.
socket/message.go:560
↓ 1 callersMethodSetMeta
SetMeta sets the header metadata 'key=value' for reply message.
context.go:114
↓ 1 callersMethodSetNoDelay
SetNoDelay controls whether the operating system should delay message transmission in hopes of sending fewer messages (Nagle's algorithm). The defaul
socket/socket.go:368
↓ 1 callersMethodSetRate
SetRate sets heartbeat rate.
plugin/heartbeat/ping.go:45
↓ 1 callersMethodSetReadBuffer
SetReadBuffer sets the size of the operating system's receive buffer associated with the connection.
socket/socket.go:358
↓ 1 callersFunctionSetShutdown
SetShutdown sets the function which is called after the process shutdown, and the time-out period for the process shutdown. If 0<=timeout<5s, automati
graceful.go:100
↓ 1 callersMethodSetTLSConfig
SetTLSConfig sets the TLS config.
peer.go:176
↓ 1 callersMethodSetWriteBuffer
SetWriteBuffer sets the size of the operating system's transmit buffer associated with the connection.
socket/socket.go:361
↓ 1 callersMethodSize
()
plugin/secure/secure.pb.go:119
↓ 1 callersMethodSize
()
codec/empty.pb.go:91
↓ 1 callersMethodSize
()
examples/bench/msg/benchmark.pb.go:739
↓ 1 callersMethodStats
Stats returns the current session pool stats.
mixer/multiclient/multiclient.go:61
↓ 1 callersMethodStrikeout
(msg interface{}, styles ...string)
utils/color/color.go:236
↓ 1 callersMethodSwap
Swap returns custom data swap of context.
context.go:41
↓ 1 callersFunctionThriftMarshal
ThriftMarshal returns the Thriftbuf encoding of v.
codec/thrift_codec.go:65
↓ 1 callersFunctionThriftUnmarshal
ThriftUnmarshal parses the Thriftbuf-encoded data and stores the result in the value pointed to by v.
codec/thrift_codec.go:81
↓ 1 callersFunctionTryOptimize
TryOptimize attempts to set KeepAlive, KeepAlivePeriod, ReadBuffer, WriteBuffer or NoDelay.
socket/socket.go:373
↓ 1 callersMethodUnderline
(msg interface{}, styles ...string)
utils/color/color.go:224
↓ 1 callersMethodUnmarshal
(dAtA []byte)
mixer/websocket/pbSubProto/pb/payload.pb.go:240
↓ 1 callersMethodUnmarshal
(dAtA []byte)
socket/example/pb/test.pb.go:143
↓ 1 callersMethodWhite
(msg interface{}, styles ...string)
utils/color/color.go:168
↓ 1 callersMethodWhiteBg
(msg interface{}, styles ...string)
utils/color/color.go:204
↓ 1 callersFunctionWithAcceptSecureMeta
WithAcceptSecureMeta requires the peer to encrypt the replying body. Note: requires that the secure plugin has been registered!
plugin/secure/secure.go:80
↓ 1 callersFunctionWithBody
WithBody sets the body object.
socket/message.go:520
↓ 1 callersFunctionWithNothing
WithNothing nothing to do.
socket/message.go:462
↓ 1 callersFunctionWithSecureMeta
WithSecureMeta encrypts the body of the current message. Note: requires that the secure plugin has been registered!
plugin/secure/secure.go:72
↓ 1 callersFunctionWithServiceMethod
WithServiceMethod sets the message service method. SUGGEST: max len ≤ 255!
socket/message.go:475
↓ 1 callersFunctionWithSetMeta
WithSetMeta sets 'key=value' metadata argument. SUGGEST: urlencoded string max len ≤ 65535!
socket/message.go:499
↓ 1 callersMethodWriteClose
(status int)
mixer/websocket/websocket/websocket.go:157
↓ 1 callersFunctionYellow
(msg interface{}, styles ...string)
utils/color/color.go:260
↓ 1 callersMethodYellow
(msg interface{}, styles ...string)
utils/color/color.go:152
↓ 1 callersMethodYellowBg
(msg interface{}, styles ...string)
utils/color/color.go:188
↓ 1 callersMethodactiveListeners
activeListeners returns a snapshot copy of the active listeners.
quic/inherit.go:142
↓ 1 callersMethodactiveListeners
activeListeners returns a snapshot copy of the active listeners.
kcp/inherit.go:141
↓ 1 callersMethodaddFields
(parentIndexPath []int, t reflect.Type, v reflect.Value)
plugin/binder/binder.go:183
↓ 1 callersFunctionaddPeer
(p *peer)
graceful.go:37
↓ 1 callersMethodappendLeft
appendLeft appends plugins on the left side of the pluginContainer.
plugin.go:261
↓ 1 callersMethodappendRight
appendRight appends plugins on the right side of the pluginContainer.
plugin.go:269
↓ 1 callersMethodbackgroundAttr
()
utils/color/colorable_windows.go:647
↓ 1 callersMethodbinaryPack
(m erpc.Message)
proto/thriftproto/binary_proto.go:82
↓ 1 callersMethodbinaryUnpack
(m erpc.Message)
proto/thriftproto/binary_proto.go:122
↓ 1 callersMethodbindAndValidate
(structValue reflect.Value, meta *utils.Args, swap goutil.Map)
plugin/binder/binder.go:307
↓ 1 callersMethodbindCall
(header Header)
context.go:446
↓ 1 callersMethodbindPush
(header Header)
context.go:382
↓ 1 callersMethodbindReply
(header Header)
context.go:583
↓ 1 callersFunctionbodyLogBytes
(message Message)
session.go:1091
↓ 1 callersMethodcalibrate
()
utils/bytebuffer.go:193
↓ 1 callersMethodcancel
(reason string)
context.go:850
↓ 1 callersMethodcheck
()
xfer/xfer.go:114
↓ 1 callersFunctioncheckMessageSize
(messageSize uint32)
socket/message.go:568
↓ 1 callersMethodclean
()
context.go:203
↓ 1 callersFunctionconvertAssign
(dest reflect.Value, src []string)
plugin/binder/binder.go:681
↓ 1 callersFunctioncopyArgs
(dst, src []argsKV)
utils/args.go:306
↓ 1 callersFunctiondecodeArgAppend
(dst, src []byte, decodePlus bool)
utils/args.go:462
↓ 1 callersFunctiondeletePeer
(p *peer)
graceful.go:43
↓ 1 callersFunctiondialWithDialer
(dialer *net.Dialer, config *Config)
mixer/websocket/websocket/dial.go:12
↓ 1 callersMethoddist
(b hsv)
utils/color/colorable_windows.go:686
↓ 1 callersFunctiondoPrintPid
()
helper.go:80
↓ 1 callersMethoddoSend
(output Message)
session.go:470
↓ 1 callersMethodfieldsForBinding
(structElem reflect.Value)
plugin/binder/binder.go:293
← previousnext →501–600 of 1,742, ranked by callers