Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andeya/erpc
/ functions
Functions
1,742 in github.com/andeya/erpc
⨍
Functions
1,742
◇
Types & classes
282
Function
NewRawProtoFunc
* # 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
Function
NewServer
NewServer creates a websocket server.
mixer/websocket/server.go:45
Method
NewServerConn
(buf *bufio.ReadWriter, rwc io.ReadWriteCloser, request *http.Request)
mixer/websocket/websocket/hybi.go:576
Function
NewSocketHub
NewSocketHub creates a new sockets hub.
socket/socket_hub.go:29
Function
NewStatusByCodeText
NewStatusByCodeText creates a message status with code, msg, cause or stack. NOTE: The msg comes from the CodeText(code) value.
status.go:58
Function
NewTest
()
proto/thriftproto/gen-go/thriftproto_test/test.go:28
Function
NewThriftEmpty
()
codec/empty.thrift.go:24
Method
Noticef
Noticef logs a message using NOTICE as log level.
log.go:71
Method
Noticef
Noticef logs a message using NOTICE as log level.
log.go:464
Method
Noticef
Noticef logs a message using NOTICE as log level.
log.go:575
Method
Noticef
Noticef logs a message using NOTICE as log level.
log.go:686
Method
Noticef
Noticef logs a message using NOTICE as log level.
log.go:797
Method
Ok
(arg *string)
examples/session_age/server_test.go:36
Method
OnPack
(src []byte)
xfer/md5/md5.go:40
Method
OnPack
OnPack performs filtering on packing.
xfer/gzip/gzip.go:84
Method
OnUnpack
(src []byte)
xfer/md5/md5.go:50
Method
OnUnpack
OnUnpack performs filtering on unpacking.
xfer/gzip/gzip.go:100
Method
Open
Open opens the transport for communication.
proto/thriftproto/binary_proto.go:213
Method
Open
()
codec/thrift_codec.go:102
Method
Output
Output returns writed message.
helper.go:128
Method
Output
Output writes log.
log.go:130
Method
Output
Output returns wrote message.
context.go:52
Method
Output
Output returns writed message.
context.go:233
Method
Output
Output returns writed message.
context.go:684
Method
Output
Output returns writed message.
context.go:776
Method
Pack
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
Method
Pack
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
Method
Pack
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
Method
Pack
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
Method
Pack
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
Method
Pack
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
Method
Pack
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
Method
Pack
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
Method
Pack
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
Method
Panicf
Panicf is equivalent to l.Criticalf followed by a call to panic().
log.go:420
Method
Panicf
Panicf is equivalent to l.Criticalf followed by a call to panic().
log.go:531
Method
Panicf
Panicf is equivalent to l.Criticalf followed by a call to panic().
log.go:642
Method
Panicf
Panicf is equivalent to l.Criticalf followed by a call to panic().
log.go:753
Method
Parrot
(arg *string)
examples/unix/server_test.go:44
Function
ParseHTTPDate
ParseHTTPDate parses HTTP-compliant (RFC1123) date.
utils/bytesconv.go:121
Function
ParseIPv4
ParseIPv4 parses ip address from ipStr into dst and returns the extended dst.
utils/bytesconv.go:67
Method
PayloadType
()
mixer/websocket/websocket/hybi.go:93
Method
PeekBytes
PeekBytes returns query arg value for the given key. Returned value is valid until the next Args call.
utils/args.go:200
Method
PeekMultiBytes
PeekMultiBytes returns all the arg values for the given key.
utils/args.go:216
Method
Peer
Peer returns the peer.
session.go:39
Method
Peer
Peer returns the peer.
session.go:110
Method
Peer
Peer returns the peer.
session.go:165
Method
Peer
Peer returns the peer.
session.go:307
Method
Peer
Peer returns the peer.
context.go:218
Method
Peer
Peer returns the peer.
plugin/auth/auth.go:57
Method
Peer
Peer returns the peer.
mixer/multiclient/multiclient.go:51
Method
PluginContainer
PluginContainer returns the global plugin container.
peer.go:166
Method
Port
Port returns the port.
helper.go:250
Method
PostAccept
PostAccept is called after a session is accepted.
plugin_impl.go:141
Method
PostAccept
(sess erpc.PreSession)
plugin/auth/auth.go:140
Method
PostAccept
PostAccept initializes heartbeat information.
plugin/heartbeat/ping.go:57
Method
PostAccept
(sess erpc.Session, conn *ws.Conn)
mixer/websocket/handshake_auth.go:66
Method
PostAccept
(sess erpc.PreSession)
examples/early_comm/server_test.go:35
Method
PostDial
PostDial is called after a dial is created.
plugin_impl.go:133
Method
PostDial
(sess erpc.PreSession, _ bool)
plugin/auth/auth.go:106
Method
PostDial
PostDial initializes heartbeat information.
plugin/heartbeat/ping.go:55
Method
PostDial
PostDial initializes heartbeat information.
plugin/heartbeat/ping.go:169
Method
PostDial
PostDial checks connection overload. If overload, print error log and close the connection.
plugin/overloader/overloader.go:62
Method
PostDial
(sess erpc.PreSession, isRedial bool)
mixer/websocket/client.go:84
Method
PostDial
(sess erpc.PreSession, isRedial bool)
examples/early_comm/client_test.go:37
Method
PostDisconnect
PostDisconnect is called after a session is disconnected.
plugin_impl.go:277
Method
PostDisconnect
PostDisconnect releases connection count.
plugin/overloader/overloader.go:82
Method
PostListen
PostListen gets the listener address.
helper.go:270
Method
PostListen
PostListen is called after a listener is created.
plugin_impl.go:117
Method
PostNewPeer
PostNewPeer is called after a new peer is created.
plugin_impl.go:101
Method
PostNewPeer
(peer erpc.EarlyPeer)
plugin/proxy/proxy.go:84
Method
PostNewPeer
PostNewPeer runs ping woker.
plugin/heartbeat/ping.go:53
Method
PostNewPeer
PostNewPeer runs ping worker.
plugin/heartbeat/ping.go:137
Method
PostNewPeer
PostNewPeer runs ping woker.
plugin/heartbeat/pong.go:38
Method
PostNewPeer
(peer erpc.EarlyPeer)
plugin/heartbeat/pong.go:63
Method
PostReadCallBody
PostReadCallBody is called after a call body is read.
plugin_impl.go:221
Method
PostReadCallBody
PostReadCallBody binds and validates the registered struct handler.
plugin/binder/binder.go:141
Method
PostReadCallBody
(ctx erpc.ReadCtx)
plugin/binder/binder_test.go:38
Method
PostReadCallHeader
PostReadCallHeader is called after a call header is read.
plugin_impl.go:205
Method
PostReadCallHeader
(ctx erpc.ReadCtx)
plugin/ignorecase/ignorecase.go:26
Method
PostReadCallHeader
PostReadCallHeader updates heartbeat information.
plugin/heartbeat/ping.go:63
Method
PostReadCallHeader
PostReadCallHeader updates heartbeat information.
plugin/heartbeat/ping.go:192
Method
PostReadCallHeader
PostReadCallHeader updates heartbeat information.
plugin/heartbeat/pong.go:44
Method
PostReadCallHeader
(ctx erpc.ReadCtx)
plugin/heartbeat/pong.go:91
Method
PostReadPushBody
PostReadPushBody is called after a push body is read.
plugin_impl.go:245
Method
PostReadPushBody
(ctx erpc.ReadCtx)
plugin/secure/secure.go:247
Method
PostReadPushBody
(ctx erpc.ReadCtx)
examples/plugin-tps/tps.go:64
Method
PostReadPushHeader
PostReadPushHeader is called after a push header is read.
plugin_impl.go:229
Method
PostReadPushHeader
(ctx erpc.ReadCtx)
plugin/ignorecase/ignorecase.go:32
Method
PostReadPushHeader
PostReadPushHeader updates heartbeat information.
plugin/heartbeat/ping.go:65
Method
PostReadPushHeader
PostReadPushHeader updates heartbeat information.
plugin/heartbeat/pong.go:46
Method
PostReadPushHeader
(ctx erpc.ReadCtx)
plugin/heartbeat/pong.go:96
Method
PostReadPushHeader
PostReadPushHeader checks PUSH QPS overload. If overload, print warning log.
plugin/overloader/overloader.go:108
Method
PostReadReplyBody
PostReadReplyBody is called after a reply body is read.
plugin_impl.go:269
Method
PostReadReplyBody
(ctx erpc.ReadCtx)
plugin/secure/secure.go:239
Method
PostReadReplyHeader
PostReadReplyHeader is called after a reply header is read.
plugin_impl.go:253
Method
PostReg
PostReg is called after a handler is registered.
plugin_impl.go:109
Method
PostReg
PostReg preprocessing struct handler.
plugin/binder/binder.go:127
Method
PostReg
(h *erpc.Handler)
examples/plugin-tps/tps.go:53
Method
PostWriteCall
PostWriteCall is called after a call is written.
plugin_impl.go:157
← previous
next →
1,101–1,200 of 1,742, ranked by callers