MCPcopy Create free account

hub / github.com/andeya/erpc / functions

Functions1,742 in github.com/andeya/erpc

MethodPostWriteCall
PostWriteCall updates heartbeat information.
plugin/heartbeat/ping.go:59
MethodPostWriteCall
PostWriteCall updates heartbeat information.
plugin/heartbeat/ping.go:181
MethodPostWriteCall
PostWriteCall updates heartbeat information.
plugin/heartbeat/pong.go:40
MethodPostWriteCall
(ctx erpc.WriteCtx)
plugin/heartbeat/pong.go:101
MethodPostWritePush
PostWritePush is called after a push is written.
plugin_impl.go:189
MethodPostWritePush
PostWritePush updates heartbeat information.
plugin/heartbeat/ping.go:61
MethodPostWritePush
PostWritePush updates heartbeat information.
plugin/heartbeat/pong.go:42
MethodPostWriteReply
PostWriteReply is called after a reply is written.
plugin_impl.go:173
MethodPostWriteReply
(ctx erpc.WriteCtx)
examples/plugin-tps/tps.go:58
MethodPreCall
PreCall temporarily sends TypeCall message and receives message, when the session is just builded, do not execute other plugins. NOTE: Cannot be calle
session.go:83
MethodPreCall
PreCall temporarily sends TypeCall message and receives message, when the session is just builded, do not execute other plugins. NOTE: Cannot be cal
session.go:545
MethodPreDial
PreDial is called before a dial is created.
plugin_impl.go:125
MethodPreHandshake
(r *http.Request)
mixer/websocket/handshake_auth.go:57
MethodPreNewPeer
PreNewPeer is called before a new peer is created.
plugin_impl.go:93
MethodPreReadCallBody
PreReadCallBody is called before a call body is read.
plugin_impl.go:213
MethodPreReadHeader
PreReadHeader is called before a header is read.
plugin_impl.go:197
MethodPreReadPushBody
PreReadPushBody is called before a push body is read.
plugin_impl.go:237
MethodPreReadPushBody
(ctx erpc.ReadCtx)
plugin/secure/secure.go:243
MethodPreReadReplyBody
PreReadReplyBody is called before a reply body is read.
plugin_impl.go:261
MethodPreReadReplyBody
(ctx erpc.ReadCtx)
plugin/secure/secure.go:235
MethodPreReply
PreReply temporarily sends TypeReply message when the session is just builded, do not execute other plugins. NOTE: Cannot be called during the Non-Pos
session.go:90
MethodPreReply
PreReply temporarily sends TypeReply message when the session is just builded, do not execute other plugins. NOTE: Cannot be called during the Non-P
session.go:571
MethodPreSend
PreSend temporarily sends message when the session is just builded, do not execute other plugins. NOTE: Cannot be called during the Non-PostDial and
session.go:431
MethodPreWriteCall
PreWriteCall is called before a call is written.
plugin_impl.go:149
MethodPreWritePush
PreWritePush is called before a push is written.
plugin_impl.go:181
MethodPreWritePush
(ctx erpc.WriteCtx)
plugin/secure/secure.go:169
MethodPreWriteReply
PreWriteReply is called before a reply is written.
plugin_impl.go:165
MethodPreWriteReply
(ctx erpc.WriteCtx)
plugin/secure/secure.go:173
MethodPrintf
Printf formats according to a format specifier and writes to standard output. It returns the number of bytes written and any write error encountered.
log.go:396
MethodPrintf
************ *session logger methods ************ Printf formats according to a format specifier and writes to standard output. It returns the number
log.go:507
MethodPrintf
************ *handlerCtx Pure Logger Methods ************ Printf formats according to a format specifier and writes to standard output. It returns the
log.go:618
MethodPrintf
************ *callCmd Pure Logger Methods ************ Printf formats according to a format specifier and writes to standard output. It returns the nu
log.go:729
MethodProtoMessage
()
plugin/secure/secure.pb.go:42
MethodProtoMessage
()
proto/pbproto/pb/payload.pb.go:36
MethodProtoMessage
()
codec/empty.pb.go:40
MethodProtoMessage
()
mixer/websocket/pbSubProto/pb/payload.pb.go:38
MethodProtoMessage
()
socket/example/pb/test.pb.go:30
MethodProtoMessage
()
examples/bench/msg/benchmark.pb.go:80
MethodPush
Push sends a message of TypePush type, but do not receives reply. NOTE: If the args is []byte or *[]byte type, it can automatically fill in the body c
session.go:611
MethodPush
Push sends a message, but do not receives reply. NOTE: If the arg is []byte or *[]byte type, it can automatically fill in the body codec name; If the
mixer/multiclient/multiclient.go:102
FunctionQueryToken
(tokenKey string, r *http.Request)
mixer/websocket/handshake_auth.go:76
FunctionRPCServiceMethodMapper
RPCServiceMethodMapper like the service method mapper for most RPC servers. Such as: User.Get The mapping rule of struct(func) name to service methods
router.go:70
MethodRange
Range calls f sequentially for each id and Socket present in the socket hub. If f returns false, range stops the iteration.
socket/socket_hub.go:60
MethodRangeSession
RangeSession ranges all sessions. If fn returns false, stop traversing.
peer.go:197
MethodRaw
Raw gets the param's original value
plugin/binder/binder.go:469
MethodRawLocked
RawLocked returns the raw net.Conn, can be called in ProtoFunc. NOTE: Make sure the external is locked before calling
socket/socket.go:184
MethodRawPush
RawPush sends a TypePush message without executing other plugins. NOTE: The external setting seq is invalid, the internal will be forced to set; Does
session.go:95
MethodRawPush
RawPush sends a TypePush message without executing other plugins. NOTE: The external setting seq is invalid, the internal will be forced to set; Do
session.go:593
MethodRead
Read reads bytes.
utils/rw_counter.go:51
MethodRead
Read reads data into p. It returns the number of bytes read into p. The bytes are taken from at most one Read on the underlying Reader, hence n may be
utils/bufio_reader.go:109
MethodRead
(ctx context.Context, iprot thrift.TProtocol)
proto/thriftproto/gen-go/thriftproto_test/test.go:35
MethodRead
Read reads data from the connection. Read can be made to time out and return an Error with Timeout() == true after a fixed time limit; see SetDeadline
quic/quic.go:145
MethodRead
(iprot thrift.TProtocol)
codec/empty.thrift.go:28
MethodRead
Read reads data from the connection. Read can be made to time out and return an Error with Timeout() == true after a fixed time limit; see SetDeadline
mixer/evio/evio.go:162
MethodRead
(p []byte)
mixer/websocket/proto.go:108
MethodRead
Read implements the io.Reader interface: it reads data of a frame from the WebSocket connection. if msg is not large enough for the frame data, it fil
mixer/websocket/websocket/websocket.go:191
MethodRead
(msg []byte)
mixer/websocket/websocket/hybi.go:82
MethodRead
Read reads data from the connection. Read can be made to time out and return an Error with Timeout() == true after a fixed time limit; see SetDeadline
socket/socket.go:191
FunctionReadBuffer
ReadBuffer returns the size of the operating system's receive buffer associated with the connection. NOTE: if using the system default value, bytes=-1
socket/socket.go:428
MethodReadFrom
ReadFrom implements io.ReaderFrom.
utils/bufio_writer.go:75
MethodReadFrom
ReadFrom implements io.ReaderFrom. The function appends all the data read from r to b.
utils/bytebuffer.go:32
MethodReadMessage
ReadMessage reads header and body from the connection. NOTE: For the byte stream type of body, read directly, do not do any processing; Concurrent
socket/socket.go:237
MethodRealIP
RealIP returns the current real remote addr.
context.go:39
MethodRealIP
RealIP returns the the current real remote addr.
context.go:757
FunctionReboot
Reboot all the frame process gracefully. NOTE: Windows system are not supported!
graceful.go:125
FunctionRedBg
(msg interface{}, styles ...string)
utils/color/color.go:288
MethodRedialInterval
RedialInterval returns the redial interval.
dialer.go:72
FunctionRegBodyCodec
RegBodyCodec registers a mapping of content type to body coder.
proto/httproto/httproto.go:56
FunctionReleaseArgs
ReleaseArgs returns the object acquired via AquireArgs to the pool. Do not access the released Args object, otherwise data races may occur.
utils/args.go:21
MethodReload
Reload Bi-directionally synchronizes config between YAML file and memory.
config.go:70
MethodRemainingBytes
RemainingBytes returns the number of remaining bytes.
proto/thriftproto/binary_proto.go:233
MethodRemainingBytes
()
codec/thrift_codec.go:116
MethodRemoteAddr
RemoteAddr returns the remote network address.
session.go:116
MethodRemoteAddr
RemoteAddr returns the remote network address.
session.go:129
MethodRemoteAddr
RemoteAddr returns the remote network address.
plugin/auth/auth.go:63
MethodRemoteAddr
RemoteAddr returns the remote network address.
quic/quic.go:173
MethodRemoteAddr
RemoteAddr returns the remote network address.
mixer/evio/evio.go:207
MethodRemoteAddr
RemoteAddr returns the WebSocket location for the connection for client, or the Websocket Origin for server.
mixer/websocket/websocket/websocket.go:257
MethodRemove
Remove removes a plugin by its name.
plugin.go:206
MethodReply
Reply returns the call reply.
helper.go:139
MethodReply
Reply returns the call reply. NOTE: Inside, <-Done() is automatically called and blocked, until the call is completed!
context.go:806
MethodReplyBodyCodec
ReplyBodyCodec initializes and returns the reply message body codec id.
context.go:107
MethodReplyType
ReplyType returns the handler reply type
router.go:944
FunctionReset
(msg interface{}, styles ...string)
utils/color/color.go:316
MethodReset
()
plugin/secure/secure.pb.go:40
MethodReset
Reset discards any unflushed buffered data, clears any error, resets b to write its output to w, and resets count.
utils/bufio_writer.go:83
MethodReset
Reset makes ByteBuffer.B empty.
utils/bytebuffer.go:108
MethodReset
Reset resets itself.
utils/rw_counter.go:30
MethodReset
Reset resets itself.
utils/rw_counter.go:68
MethodReset
Reset resets itself.
utils/rw_counter.go:106
MethodReset
Reset discards any buffered data, resets all state, switches the buffered reader to read from r, resets count, and resets limit.
utils/bufio_reader.go:139
MethodReset
(msg interface{}, styles ...string)
utils/color/color.go:208
MethodReset
()
proto/pbproto/pb/payload.pb.go:34
MethodReset
Reset resets transfer filter pipe.
xfer/xfer.go:91
MethodReset
()
codec/empty.pb.go:38
MethodReset
()
mixer/websocket/pbSubProto/pb/payload.pb.go:36
MethodReset
Reset resets and returns itself. NOTE: settings are only for writing to connection.
socket/message.go:219
MethodReset
Reset reset net.Conn and ProtoFunc.
socket/socket.go:294
MethodReset
()
socket/example/pb/test.pb.go:28
MethodReset
()
examples/bench/msg/benchmark.pb.go:78
← previousnext →1,201–1,300 of 1,742, ranked by callers