MCPcopy Create free account

hub / github.com/andeya/erpc / functions

Functions1,742 in github.com/andeya/erpc

↓ 3 callersMethodID
ID returns transfer filter id.
xfer/xfer.go:27
↓ 3 callersMethodListenAddr
ListenAddr returns the listener address.
config.go:58
↓ 3 callersMethodMarshalTo
(dAtA []byte)
mixer/websocket/pbSubProto/pb/payload.pb.go:131
↓ 3 callersMethodName
Name returns transfer filter name.
xfer/xfer.go:29
↓ 3 callersMethodName
Name returns codec name.
codec/codec.go:27
↓ 3 callersMethodNetwork
Network returns the network type for a WebSocket, "websocket".
mixer/websocket/websocket/websocket.go:78
↓ 3 callersFunctionNew
New creates a plug-in to protect erpc from overload.
plugin/overloader/overloader.go:47
↓ 3 callersMethodNewArgValue
NewArgValue creates a new arg elem value.
router.go:939
↓ 3 callersFunctionNewConfig
NewConfig creates a new WebSocket config for client connection.
mixer/websocket/websocket/client.go:26
↓ 3 callersFunctionNewFakeAddr
NewFakeAddr creates an object that implements net.Add interface.
helper.go:288
↓ 3 callersFunctionNewServeHandler
NewServeHandler creates a websocket handler.
mixer/websocket/server.go:146
↓ 3 callersFunctionPrepareArgs
PrepareArgs prepare args.
examples/bench/msg/args.go:10
↓ 3 callersFunctionProtoMarshal
ProtoMarshal returns the Protobuf encoding of v.
codec/protobuf_codec.go:63
↓ 3 callersFunctionProtoUnmarshal
ProtoUnmarshal parses the Protobuf-encoded data and stores the result in the value pointed to by v.
codec/protobuf_codec.go:75
↓ 3 callersMethodRangeSession
RangeSession ranges all sessions. If fn returns false, stop traversing.
peer.go:42
↓ 3 callersMethodRealIP
RealIP returns the the current real remote addr.
context.go:309
↓ 3 callersMethodReset
Reset resets and returns itself.
socket/message.go:36
↓ 3 callersMethodSet
Set sets a Socket.
socket/socket_hub.go:37
↓ 3 callersMethodSetDeadline
SetDeadline sets the read and write deadlines associated with the connection. It is equivalent to calling both SetReadDeadline and SetWriteDeadline.
socket/socket.go:60
↓ 3 callersMethodSetNewBody
SetNewBody resets the function of geting body. NOTE: NewBodyFunc is only for reading form connection;
socket/message.go:118
↓ 3 callersMethodSetString
SetString sets ByteBuffer.B to s.
utils/bytebuffer.go:98
↓ 3 callersMethodString
String returns the string. NOTE: non-concurrent security
utils/count_str.go:55
↓ 3 callersMethodSwapLen
SwapLen returns the amount of custom data of the socket.
socket/socket.go:93
↓ 3 callersFunctionTracef
Tracef logs a message using TRACE as log level.
log.go:371
↓ 3 callersMethodUpdate
Update updates the overload limitation condition.
plugin/overloader/overloader.go:118
↓ 3 callersMethodVisitMeta
VisitMeta calls f for each existing metadata. f must not retain references to key and value after returning. Make key and/or value copies if you need
context.go:69
↓ 3 callersFunctionallocArg
(h []argsKV)
utils/args.go:369
↓ 3 callersFunctionasKCP
(network string)
config.go:145
↓ 3 callersFunctionasQUIC
(network string)
config.go:136
↓ 3 callersFunctiondelAllArgs
(args []argsKV, key string)
utils/args.go:327
↓ 3 callersMethoddelete
delete deletes the *session for a id.
session.go:1004
↓ 3 callersMethoddialWithRetry
dialWithRetry dials the connection, and try again if it fails. NOTE: sessID is not empty only when the disconnection is redialing
dialer.go:90
↓ 3 callersMethoddoSetting
(settings ...MessageSetting)
socket/message.go:235
↓ 3 callersMethoddone
()
context.go:842
↓ 3 callersFunctionformatProperType
(v reflect.Value)
codec/plain_codec.go:71
↓ 3 callersFunctiongetHeartbeatInfo
getHeartbeatInfo gets heartbeat info from session.
plugin/heartbeat/info.go:72
↓ 3 callersMethodgetLimit
()
plugin/overloader/qpslimiter.go:32
↓ 3 callersFunctiongetNonceAccept
getNonceAccept computes the base64-encoded SHA-1 of the concatenation of the nonce ("Sec-WebSocket-Key" value) with the websocket GUID string.
mixer/websocket/websocket/hybi.go:391
↓ 3 callersMethodgetRate
()
plugin/heartbeat/ping.go:99
↓ 3 callersMethodgetStatus
()
session.go:256
↓ 3 callersFunctionhexbyte2int
(c byte)
utils/bytesconv.go:333
↓ 3 callersFunctionhybiClientHandshake
Client handshake described in draft-ietf-hybi-thewebsocket-protocol-17
mixer/websocket/websocket/hybi.go:405
↓ 3 callersMethodisActiveClosed
()
socket/socket.go:339
↓ 3 callersFunctionnewSession
(peer *peer, conn net.Conn, protoFuncs []ProtoFunc)
session.go:204
↓ 3 callersFunctionobjectName
(v reflect.Value)
router.go:920
↓ 3 callersFunctionparseAuthority
(location *url.URL)
mixer/websocket/websocket/client.go:71
↓ 3 callersMethodredialForClient
(oldConn net.Conn)
session.go:834
↓ 3 callersMethodrefresh
()
plugin.go:227
↓ 3 callersMethodreleaseConn
()
plugin/overloader/overloader.go:195
↓ 3 callersFunctionresolveCtrlStructOrPoolFunc
(ctrlStructOrPoolFunc interface{})
router.go:461
↓ 3 callersMethodsetContext
setContext sets the context for timeout.
context.go:327
↓ 3 callersFunctionsetWithProperType
(valueKind reflect.Kind, val string, structField reflect.Value)
codec/form_codec.go:208
↓ 3 callersFunctionsovSecure
(x uint64)
plugin/secure/secure.pb.go:133
↓ 3 callersFunctionsovTest
(x uint64)
socket/example/pb/test.pb.go:130
↓ 3 callersMethodtake
()
plugin/overloader/qpslimiter.go:58
↓ 3 callersFunctiontestWithProtocol
(t *testing.T, subproto []string)
mixer/websocket/websocket/websocket_test.go:259
↓ 3 callersMethodtryChangeStatus
(to int32, fromList ...int32)
session.go:237
↓ 3 callersMethodupdate
(maxQPS int32, qpsInterval time.Duration)
plugin/overloader/qpslimiter.go:40
↓ 3 callersMethodwrite
(message Message)
session.go:897
↓ 3 callersMethodwriteReply
(stat *Status)
context.go:570
↓ 2 callersMethodAccept
Accept implements the Accept method in the Listener interface; it waits for the next call and returns a generic Conn.
kcp/kcp.go:54
↓ 2 callersMethodAdd
Add handles addition request
examples/kcp/server_test.go:63
↓ 2 callersFunctionAppendQuotedArg
AppendQuotedArg appends url-encoded src to dst and returns appended dst.
utils/bytesconv.go:383
↓ 2 callersMethodArgElemType
ArgElemType returns the handler arg elem type.
router.go:934
↓ 2 callersMethodBind
Bind when the raw body binder is []byte type, now binds the input body to v.
context.go:126
↓ 2 callersFunctionCheckArgs
CheckArgs check concurrency and total request count.
examples/bench/msg/args.go:46
↓ 2 callersMethodCloseNotify
CloseNotify returns a channel that closes when the connection has gone away.
session.go:133
↓ 2 callersMethodContextAge
ContextAge returns CALL or PUSH context max age.
session.go:99
↓ 2 callersMethodCopyMeta
CopyMeta returns the input message metadata copy.
context.go:71
↓ 2 callersMethodCopyTo
CopyTo copies all args to dst.
utils/args.go:54
↓ 2 callersFunctionCyan
(msg interface{}, styles ...string)
utils/color/color.go:272
↓ 2 callersMethodDel
Del deletes argument with the given key from query args.
utils/args.go:133
↓ 2 callersMethodFile
()
kcp/inherit.go:199
↓ 2 callersMethodGet
Get gets Socket by id. If second returned arg is false, mean the Socket is not found.
socket/socket_hub.go:50
↓ 2 callersMethodGetBodyCodec
GetBodyCodec gets the body codec type of the input message.
context.go:93
↓ 2 callersMethodGetCipherversion
()
plugin/secure/secure.pb.go:45
↓ 2 callersFunctionGetContentType
GetContentType returns the content type from codec id.
proto/httproto/httproto.go:75
↓ 2 callersFunctionGetLoggerLevel
GetLoggerLevel gets the logger's level.
log.go:238
↓ 2 callersMethodGetProtoFunc
GetProtoFunc returns the ProtoFunc
session.go:61
↓ 2 callersFunctionGreen
(msg interface{}, styles ...string)
utils/color/color.go:256
↓ 2 callersMethodHandleFrame
(frame frameReader)
mixer/websocket/websocket/websocket.go:156
↓ 2 callersMethodHeaderReader
HeaderReader returns a reader to read header of the frame.
mixer/websocket/websocket/websocket.go:129
↓ 2 callersMethodInputBodyBytes
InputBodyBytes if the input body binder is []byte type, returns it, else returns nil.
context.go:124
↓ 2 callersMethodIsClientConn
()
mixer/websocket/websocket/websocket.go:243
↓ 2 callersFunctionListen
Listen listens for QUIC connections on a given net.PacketConn. A single PacketConn only be used for a single call to Listen. The PacketConn can be use
quic/quic.go:83
↓ 2 callersFunctionListen
Listen listens for KCP connections on a given net.PacketConn.
kcp/kcp.go:90
↓ 2 callersMethodListenAndServe
ListenAndServe turns on the listening service.
mixer/evio/evio.go:100
↓ 2 callersFunctionListenUDPAddr
ListenUDPAddr announces on the local network address udpAddr. The tls.Config must not be nil and must contain a certificate configuration. The quic.Co
quic/quic.go:69
↓ 2 callersFunctionListenUDPAddr
ListenUDPAddr announces on the local network address udpAddr.
kcp/kcp.go:80
↓ 2 callersMethodMarshalTo
(dAtA []byte)
socket/example/pb/test.pb.go:88
↓ 2 callersMethodMarshalTo
(dAtA []byte)
examples/bench/msg/benchmark.pb.go:401
↓ 2 callersFunctionNewBearerPlugin
NewBearerPlugin creates a auth bearer plugin for client.
plugin/auth/auth.go:28
↓ 2 callersFunctionNewBinaryProtoFunc
NewBinaryProtoFunc creates erpc.ProtoFunc of Thrift protocol. NOTE: Marshal the body into binary; Support the Meta, BodyCodec and XferPipe.
proto/thriftproto/binary_proto.go:36
↓ 2 callersFunctionNewCheckerPlugin
NewCheckerPlugin creates a auth checker plugin for server.
plugin/auth/auth.go:36
↓ 2 callersFunctionNewColorable
(file *os.File)
utils/color/colorable_windows.go:69
↓ 2 callersFunctionNewCountString
NewCountString creates a self-increasing string counter. NOTE: panic if maxLen<=0
utils/count_str.go:17
↓ 2 callersMethodNewFrameReader
()
mixer/websocket/websocket/websocket.go:141
↓ 2 callersFunctionNewHTTProtoFunc
NewHTTProtoFunc is creation function of HTTP style socket protocol. NOTE: Only support xfer filter: gzip Must use HTTP service method mapper
proto/httproto/httproto.go:88
↓ 2 callersFunctionNewIgnoreCase
NewIgnoreCase Returns a ignoreCase plugin.
plugin/ignorecase/ignorecase.go:11
↓ 2 callersFunctionNewPbProtoFunc
NewPbProtoFunc is creation function of PROTOBUF socket protocol.
proto/pbproto/pbproto.go:32
← previousnext →201–300 of 1,742, ranked by callers