MCPcopy Create free account

hub / github.com/andeya/erpc / functions

Functions1,742 in github.com/andeya/erpc

FunctionNewRawProtoFunc
* # raw protocol format(Big Endian): {4 bytes message length} {1 byte protocol version} # 6 {1 byte transfer pipe length} {transfer pipe IDs} # The f
proto/rawproto/rawproto.go:34
FunctionNewServer
NewServer creates a websocket server.
mixer/websocket/server.go:45
MethodNewServerConn
(buf *bufio.ReadWriter, rwc io.ReadWriteCloser, request *http.Request)
mixer/websocket/websocket/hybi.go:576
FunctionNewSocketHub
NewSocketHub creates a new sockets hub.
socket/socket_hub.go:29
FunctionNewStatusByCodeText
NewStatusByCodeText creates a message status with code, msg, cause or stack. NOTE: The msg comes from the CodeText(code) value.
status.go:58
FunctionNewTest
()
proto/thriftproto/gen-go/thriftproto_test/test.go:28
FunctionNewThriftEmpty
()
codec/empty.thrift.go:24
MethodNoticef
Noticef logs a message using NOTICE as log level.
log.go:71
MethodNoticef
Noticef logs a message using NOTICE as log level.
log.go:464
MethodNoticef
Noticef logs a message using NOTICE as log level.
log.go:575
MethodNoticef
Noticef logs a message using NOTICE as log level.
log.go:686
MethodNoticef
Noticef logs a message using NOTICE as log level.
log.go:797
MethodOk
(arg *string)
examples/session_age/server_test.go:36
MethodOnPack
(src []byte)
xfer/md5/md5.go:40
MethodOnPack
OnPack performs filtering on packing.
xfer/gzip/gzip.go:84
MethodOnUnpack
(src []byte)
xfer/md5/md5.go:50
MethodOnUnpack
OnUnpack performs filtering on unpacking.
xfer/gzip/gzip.go:100
MethodOpen
Open opens the transport for communication.
proto/thriftproto/binary_proto.go:213
MethodOpen
()
codec/thrift_codec.go:102
MethodOutput
Output returns writed message.
helper.go:128
MethodOutput
Output writes log.
log.go:130
MethodOutput
Output returns wrote message.
context.go:52
MethodOutput
Output returns writed message.
context.go:233
MethodOutput
Output returns writed message.
context.go:684
MethodOutput
Output returns writed message.
context.go:776
MethodPack
Pack writes the Message into the connection. NOTE: Make sure to write only once or there will be package contamination!
proto/jsonproto/jsonproto.go:75
MethodPack
Pack writes the Message into the connection. NOTE: Make sure to write only once or there will be package contamination!
proto/httproto/httproto.go:119
MethodPack
Pack writes the Message into the connection. NOTE: Make sure to write only once or there will be package contamination!
proto/thriftproto/struct_proto.go:43
MethodPack
Pack writes the Message into the connection. NOTE: Make sure to write only once or there will be package contamination!
proto/thriftproto/binary_proto.go:66
MethodPack
Pack writes the Message into the connection. NOTE: Make sure to write only once or there will be package contamination!
proto/pbproto/pbproto.go:56
MethodPack
Pack writes the Message into the connection. NOTE: Make sure to write only once or there will be package contamination!
mixer/websocket/proto.go:73
MethodPack
Pack writes the Message into the connection. NOTE: Make sure to write only once or there will be package contamination!
mixer/websocket/pbSubProto/pbSubProto.go:38
MethodPack
Pack writes the Message into the connection. NOTE: Make sure to write only once or there will be package contamination!
mixer/websocket/jsonSubProto/jsonSubProto.go:43
MethodPack
Pack writes the Message into the connection. NOTE: Make sure to write only once or there will be package contamination! nolint:ineffassign
socket/protocol.go:115
MethodPanicf
Panicf is equivalent to l.Criticalf followed by a call to panic().
log.go:420
MethodPanicf
Panicf is equivalent to l.Criticalf followed by a call to panic().
log.go:531
MethodPanicf
Panicf is equivalent to l.Criticalf followed by a call to panic().
log.go:642
MethodPanicf
Panicf is equivalent to l.Criticalf followed by a call to panic().
log.go:753
MethodParrot
(arg *string)
examples/unix/server_test.go:44
FunctionParseHTTPDate
ParseHTTPDate parses HTTP-compliant (RFC1123) date.
utils/bytesconv.go:121
FunctionParseIPv4
ParseIPv4 parses ip address from ipStr into dst and returns the extended dst.
utils/bytesconv.go:67
MethodPayloadType
()
mixer/websocket/websocket/hybi.go:93
MethodPeekBytes
PeekBytes returns query arg value for the given key. Returned value is valid until the next Args call.
utils/args.go:200
MethodPeekMultiBytes
PeekMultiBytes returns all the arg values for the given key.
utils/args.go:216
MethodPeer
Peer returns the peer.
session.go:39
MethodPeer
Peer returns the peer.
session.go:110
MethodPeer
Peer returns the peer.
session.go:165
MethodPeer
Peer returns the peer.
session.go:307
MethodPeer
Peer returns the peer.
context.go:218
MethodPeer
Peer returns the peer.
plugin/auth/auth.go:57
MethodPeer
Peer returns the peer.
mixer/multiclient/multiclient.go:51
MethodPluginContainer
PluginContainer returns the global plugin container.
peer.go:166
MethodPort
Port returns the port.
helper.go:250
MethodPostAccept
PostAccept is called after a session is accepted.
plugin_impl.go:141
MethodPostAccept
(sess erpc.PreSession)
plugin/auth/auth.go:140
MethodPostAccept
PostAccept initializes heartbeat information.
plugin/heartbeat/ping.go:57
MethodPostAccept
(sess erpc.Session, conn *ws.Conn)
mixer/websocket/handshake_auth.go:66
MethodPostAccept
(sess erpc.PreSession)
examples/early_comm/server_test.go:35
MethodPostDial
PostDial is called after a dial is created.
plugin_impl.go:133
MethodPostDial
(sess erpc.PreSession, _ bool)
plugin/auth/auth.go:106
MethodPostDial
PostDial initializes heartbeat information.
plugin/heartbeat/ping.go:55
MethodPostDial
PostDial initializes heartbeat information.
plugin/heartbeat/ping.go:169
MethodPostDial
PostDial checks connection overload. If overload, print error log and close the connection.
plugin/overloader/overloader.go:62
MethodPostDial
(sess erpc.PreSession, isRedial bool)
mixer/websocket/client.go:84
MethodPostDial
(sess erpc.PreSession, isRedial bool)
examples/early_comm/client_test.go:37
MethodPostDisconnect
PostDisconnect is called after a session is disconnected.
plugin_impl.go:277
MethodPostDisconnect
PostDisconnect releases connection count.
plugin/overloader/overloader.go:82
MethodPostListen
PostListen gets the listener address.
helper.go:270
MethodPostListen
PostListen is called after a listener is created.
plugin_impl.go:117
MethodPostNewPeer
PostNewPeer is called after a new peer is created.
plugin_impl.go:101
MethodPostNewPeer
(peer erpc.EarlyPeer)
plugin/proxy/proxy.go:84
MethodPostNewPeer
PostNewPeer runs ping woker.
plugin/heartbeat/ping.go:53
MethodPostNewPeer
PostNewPeer runs ping worker.
plugin/heartbeat/ping.go:137
MethodPostNewPeer
PostNewPeer runs ping woker.
plugin/heartbeat/pong.go:38
MethodPostNewPeer
(peer erpc.EarlyPeer)
plugin/heartbeat/pong.go:63
MethodPostReadCallBody
PostReadCallBody is called after a call body is read.
plugin_impl.go:221
MethodPostReadCallBody
PostReadCallBody binds and validates the registered struct handler.
plugin/binder/binder.go:141
MethodPostReadCallBody
(ctx erpc.ReadCtx)
plugin/binder/binder_test.go:38
MethodPostReadCallHeader
PostReadCallHeader is called after a call header is read.
plugin_impl.go:205
MethodPostReadCallHeader
(ctx erpc.ReadCtx)
plugin/ignorecase/ignorecase.go:26
MethodPostReadCallHeader
PostReadCallHeader updates heartbeat information.
plugin/heartbeat/ping.go:63
MethodPostReadCallHeader
PostReadCallHeader updates heartbeat information.
plugin/heartbeat/ping.go:192
MethodPostReadCallHeader
PostReadCallHeader updates heartbeat information.
plugin/heartbeat/pong.go:44
MethodPostReadCallHeader
(ctx erpc.ReadCtx)
plugin/heartbeat/pong.go:91
MethodPostReadPushBody
PostReadPushBody is called after a push body is read.
plugin_impl.go:245
MethodPostReadPushBody
(ctx erpc.ReadCtx)
plugin/secure/secure.go:247
MethodPostReadPushBody
(ctx erpc.ReadCtx)
examples/plugin-tps/tps.go:64
MethodPostReadPushHeader
PostReadPushHeader is called after a push header is read.
plugin_impl.go:229
MethodPostReadPushHeader
(ctx erpc.ReadCtx)
plugin/ignorecase/ignorecase.go:32
MethodPostReadPushHeader
PostReadPushHeader updates heartbeat information.
plugin/heartbeat/ping.go:65
MethodPostReadPushHeader
PostReadPushHeader updates heartbeat information.
plugin/heartbeat/pong.go:46
MethodPostReadPushHeader
(ctx erpc.ReadCtx)
plugin/heartbeat/pong.go:96
MethodPostReadPushHeader
PostReadPushHeader checks PUSH QPS overload. If overload, print warning log.
plugin/overloader/overloader.go:108
MethodPostReadReplyBody
PostReadReplyBody is called after a reply body is read.
plugin_impl.go:269
MethodPostReadReplyBody
(ctx erpc.ReadCtx)
plugin/secure/secure.go:239
MethodPostReadReplyHeader
PostReadReplyHeader is called after a reply header is read.
plugin_impl.go:253
MethodPostReg
PostReg is called after a handler is registered.
plugin_impl.go:109
MethodPostReg
PostReg preprocessing struct handler.
plugin/binder/binder.go:127
MethodPostReg
(h *erpc.Handler)
examples/plugin-tps/tps.go:53
MethodPostWriteCall
PostWriteCall is called after a call is written.
plugin_impl.go:157
← previousnext →1,101–1,200 of 1,742, ranked by callers