MCPcopy Create free account

hub / github.com/andeya/erpc / functions

Functions1,742 in github.com/andeya/erpc

↓ 1 callersFunctionCriticalf
Criticalf logs a message using CRITICAL as log level.
log.go:311
↓ 1 callersMethodCyan
(msg interface{}, styles ...string)
utils/color/color.go:164
↓ 1 callersMethodCyanBg
(msg interface{}, styles ...string)
utils/color/color.go:200
↓ 1 callersFunctionDefaultBodyCodec
DefaultBodyCodec gets the default body codec.
config.go:159
↓ 1 callersFunctionDefaultProtoFunc
DefaultProtoFunc gets the default builder of socket communication protocol
socket/protocol.go:55
↓ 1 callersFunctionDial
Dial opens a new client connection to a WebSocket.
mixer/websocket/websocket/client.go:55
↓ 1 callersMethodDial
Dial dials the connection, and try again if it fails.
dialer.go:82
↓ 1 callersFunctionDialAddrContext
DialAddrContext establishes a new QUIC connection to a server. It uses a new UDP connection and closes this connection when the QUIC session is closed
quic/quic.go:15
↓ 1 callersFunctionDialAddrContext
DialAddrContext establishes a new KCP connection to a server. It uses a new UDP connection and closes this connection when the KCP session is closed.
kcp/kcp.go:18
↓ 1 callersMethodDialProtobuf
DialProtobuf connects with the Protobuf protocol.
mixer/websocket/client.go:50
↓ 1 callersMethodDim
(msg interface{}, styles ...string)
utils/color/color.go:216
↓ 1 callersMethodDiscard
Discard skips the next n bytes, returning the number of bytes discarded. If Discard skips fewer than n bytes, it also returns an error. If 0 <= n <=
utils/bufio_reader.go:90
↓ 1 callersFunctionEnforceSecure
EnforceSecure enforces the body of the encrypted reply message. Note: requires that the secure plugin has been registered!
plugin/secure/secure.go:66
↓ 1 callersFunctionFlushLogger
FlushLogger writes any buffered log to the underlying io.Writer.
log.go:203
↓ 1 callersFunctionGenerateTLSConfigForClient
GenerateTLSConfigForClient setup a bare-bones(skip verify) TLS config for client.
helper.go:182
↓ 1 callersFunctionGenerateTLSConfigForServer
GenerateTLSConfigForServer setup a bare-bones TLS config for server.
helper.go:187
↓ 1 callersFunctionGetAcceptBodyCodec
GetAcceptBodyCodec gets the body codec that the sender wishes to accept. NOTE: If the specified codec is invalid, the receiver will ignore the mate da
message.go:153
↓ 1 callersFunctionGetBodyCodec
GetBodyCodec returns the codec id from content type.
proto/httproto/httproto.go:62
↓ 1 callersMethodGetBodyCodec
GetBodyCodec gets the body codec type of the input message.
context.go:289
↓ 1 callersMethodGetCiphertext
()
plugin/secure/secure.pb.go:52
↓ 1 callersMethodGetUfloat
GetUfloat returns ufloat value for the given key.
utils/args.go:267
↓ 1 callersMethodGetUint
GetUint returns uint value for the given key.
utils/args.go:234
↓ 1 callersFunctionGo
Go similar to go func, but return false if insufficient resources.
helper.go:53
↓ 1 callersMethodGreen
(msg interface{}, styles ...string)
utils/color/color.go:148
↓ 1 callersMethodGreenBg
(msg interface{}, styles ...string)
utils/color/color.go:184
↓ 1 callersMethodGrey
(msg interface{}, styles ...string)
utils/color/color.go:172
↓ 1 callersMethodHidden
(msg interface{}, styles ...string)
utils/color/color.go:232
↓ 1 callersMethodIP
IP returns the remote addr.
context.go:304
↓ 1 callersFunctionInheritedListen
InheritedListen announces on the local network address laddr. The network net is "quic". It returns an inherited net.Listener for the matching network
quic/inherit.go:19
↓ 1 callersFunctionInheritedListen
InheritedListen announces on the local network address laddr. The network net is "KCP". It returns an inherited net.Listener for the matching network
kcp/inherit.go:18
↓ 1 callersMethodInheritedListen
InheritedListen announces on the local network address laddr. It returns an inherited net.Listener for the matching address, or creates a new one.
quic/inherit.go:105
↓ 1 callersMethodInheritedListen
InheritedListen announces on the local network address laddr. It returns an inherited net.Listener for the matching address, or creates a new one.
kcp/inherit.go:104
↓ 1 callersMethodInputBodyBytes
InputBodyBytes if the input body binder is []byte type, returns it, else returns nil.
context.go:654
↓ 1 callersMethodInputMeta
InputMeta returns the header metadata of input message. NOTE: Inside, <-Done() is automatically called and blocked, until the call is completed!
context.go:705
↓ 1 callersMethodInverse
(msg interface{}, styles ...string)
utils/color/color.go:228
↓ 1 callersFunctionIs
Is determines if the id is gzip.
xfer/gzip/gzip.go:37
↓ 1 callersMethodIsServerConn
()
mixer/websocket/websocket/websocket.go:244
↓ 1 callersFunctionIsTerminal
IsTerminal return true if the file descriptor is terminal.
utils/color/isatty_bsd.go:15
↓ 1 callersMethodItalic
(msg interface{}, styles ...string)
utils/color/color.go:220
↓ 1 callersMethodLimitConfig
LimitConfig returns the overload limitation condition.
plugin/overloader/overloader.go:113
↓ 1 callersMethodListenAndServeProtobuf
ListenAndServeProtobuf listen and serve with the Protobuf protocol.
mixer/websocket/server.go:74
↓ 1 callersFunctionMagenta
(msg interface{}, styles ...string)
utils/color/color.go:268
↓ 1 callersMethodMagenta
(msg interface{}, styles ...string)
utils/color/color.go:160
↓ 1 callersMethodMagentaBg
(msg interface{}, styles ...string)
utils/color/color.go:196
↓ 1 callersMethodMarshalTo
(dAtA []byte)
plugin/secure/secure.pb.go:72
↓ 1 callersMethodMarshalTo
(dAtA []byte)
codec/empty.pb.go:56
↓ 1 callersFunctionMessageSizeLimit
MessageSizeLimit gets the message size upper limit of reading.
socket/message.go:554
↓ 1 callersMethodModifySocket
ModifySocket modifies the socket. NOTE: The connection fd is not allowed to change! Inherit the previous session id and custom data swap; If modifiedC
session.go:59
↓ 1 callersFunctionMustGo
MustGo always try to use goroutine callbacks until execution is complete or the context is canceled.
helper.go:68
↓ 1 callersMethodNames
Names returns the name list of transfer filters.
xfer/xfer.go:142
↓ 1 callersFunctionNew
New creates a Color instance.
utils/color/color.go:126
↓ 1 callersFunctionNew
New creates a client session which is has connection pool.
mixer/multiclient/multiclient.go:33
↓ 1 callersFunctionNewClient
NewClient creates a evio client, equivalent to erpc.NewPeer.
mixer/evio/evio.go:17
↓ 1 callersFunctionNewColorableStderr
()
utils/color/colorable_others.go:23
↓ 1 callersFunctionNewColorableStdout
()
utils/color/colorable_others.go:19
↓ 1 callersFunctionNewDialPlugin
NewDialPlugin creates a websocket plugin for client.
mixer/websocket/client.go:63
↓ 1 callersMethodNewFrameReader
NewFrameReader reads a frame header from the connection, and creates new reader for the frame. See Section 5.2 Base Framing protocol for detail. http:
mixer/websocket/websocket/hybi.go:117
↓ 1 callersMethodNewFrameWriter
(payloadType byte)
mixer/websocket/websocket/hybi.go:251
↓ 1 callersFunctionNewInheritedListener
NewInheritedListener creates a inherited listener.
listener.go:30
↓ 1 callersFunctionNewPlugin
NewPlugin creates a AES encryption/decryption plugin. The cipherkey argument should be the AES key, either 16, 24, or 32 bytes to select AES-128, AES-
plugin/secure/secure.go:44
↓ 1 callersFunctionNewPlugin
NewPlugin creates a proxy plugin for handling unknown calling and pushing.
plugin/proxy/proxy.go:31
↓ 1 callersFunctionNewReadCounter
NewReadCounter wrap the reader with counter.
utils/rw_counter.go:44
↓ 1 callersMethodNewServerConn
NewServerConn creates a new WebSocket connection.
mixer/websocket/websocket/websocket.go:117
↓ 1 callersFunctionNewSocket
NewSocket wraps a net.Conn as a Socket.
socket/socket.go:157
↓ 1 callersFunctionNewStructArgsBinder
NewStructArgsBinder creates a plugin that binds and validates structure type parameters.
plugin/binder/binder.go:91
↓ 1 callersFunctionNewTLSConfigFromFile
NewTLSConfigFromFile creates a new TLS config.
helper.go:173
↓ 1 callersFunctionNewTPS
go:generate go build $GOFILE
examples/plugin-tps/tps.go:14
↓ 1 callersFunctionNewWriteCounter
NewWriteCounter wrap the writer with counter.
utils/rw_counter.go:82
↓ 1 callersMethodNext
Next returns whether there are still more redial times.
dialer.go:165
↓ 1 callersFunctionNoticef
Noticef logs a message using NOTICE as log level.
log.go:341
↓ 1 callersMethodOnPack
OnPack packs transfer byte stream, from inner-most to outer-most.
xfer/xfer.go:164
↓ 1 callersMethodOnUnpack
OnUnpack unpacks transfer byte stream, from outer-most to inner-most.
xfer/xfer.go:175
↓ 1 callersMethodPacketConn
PacketConn returns the net.PacketConn.
quic/quic.go:98
↓ 1 callersMethodPacketConn
PacketConn returns the net.PacketConn.
kcp/kcp.go:66
↓ 1 callersFunctionPanicf
Panicf is equivalent to l.Criticalf followed by a call to panic().
log.go:297
↓ 1 callersFunctionParseUfloat
ParseUfloat parses unsigned float from buf.
utils/bytesconv.go:196
↓ 1 callersMethodPeekMeta
PeekMeta peeks the header metadata for the input message.
context.go:258
↓ 1 callersMethodPeer
Peer returns the peer.
context.go:33
↓ 1 callersMethodPeer
Peer returns the peer.
context.go:737
↓ 1 callersMethodPostAccept
(PreSession)
plugin.go:65
↓ 1 callersMethodPostAccept
PostAccept initializes heartbeat information.
plugin/heartbeat/ping.go:174
↓ 1 callersMethodPostAccept
PostAccept checks connection overload. If overload, print error log and close the connection.
plugin/overloader/overloader.go:71
↓ 1 callersMethodPostAccept
(sess erpc.Session, conn *ws.Conn)
mixer/websocket/server.go:213
↓ 1 callersMethodPostDial
(sess PreSession, isRedial bool)
plugin.go:60
↓ 1 callersMethodPostDisconnect
(BaseSession)
plugin.go:150
↓ 1 callersMethodPostNewPeer
(EarlyPeer)
plugin.go:40
↓ 1 callersMethodPostReadCallBody
(ReadCtx)
plugin.go:115
↓ 1 callersMethodPostReadCallHeader
(ReadCtx)
plugin.go:105
↓ 1 callersMethodPostReadCallHeader
PostReadCallHeader checks PULL QPS overload. If overload, print error log and reply error.
plugin/overloader/overloader.go:89
↓ 1 callersMethodPostReadPushBody
(ReadCtx)
plugin.go:130
↓ 1 callersMethodPostReadPushHeader
(ReadCtx)
plugin.go:120
↓ 1 callersMethodPostReadPushHeader
PostReadPushHeader updates heartbeat information.
plugin/heartbeat/ping.go:197
↓ 1 callersMethodPostReadReplyBody
(ReadCtx)
plugin.go:145
↓ 1 callersMethodPostReadReplyHeader
(ReadCtx)
plugin.go:135
↓ 1 callersMethodPostReg
(*Handler)
plugin.go:45
↓ 1 callersMethodPostWriteCall
(WriteCtx)
plugin.go:75
↓ 1 callersMethodPostWritePush
(WriteCtx)
plugin.go:95
↓ 1 callersMethodPostWritePush
PostWritePush updates heartbeat information.
plugin/heartbeat/ping.go:186
↓ 1 callersMethodPostWritePush
(ctx erpc.WriteCtx)
plugin/heartbeat/pong.go:105
↓ 1 callersMethodPostWriteReply
(WriteCtx)
plugin.go:85
← previousnext →401–500 of 1,742, ranked by callers