MCPcopy Create free account

hub / github.com/andeya/erpc / functions

Functions1,742 in github.com/andeya/erpc

↓ 1 callersMethodstartReadAndHandle
()
session.go:850
↓ 1 callersMethodstopTicker
()
plugin/overloader/qpslimiter.go:72
↓ 1 callersMethodstructPack
(m erpc.Message)
proto/thriftproto/struct_proto.go:59
↓ 1 callersMethodstructUnpack
(m erpc.Message)
proto/thriftproto/struct_proto.go:100
↓ 1 callersMethodtakeHandlerQPS
(serviceMethod string)
plugin/overloader/overloader.go:210
↓ 1 callersFunctiontoHSVTable
(rgbTable []consoleColor)
utils/color/colorable_windows.go:728
↓ 1 callersFunctiontoSliceString
(b [][]byte)
plugin/binder/binder.go:363
↓ 1 callersMethodupdate
(maxConn int32)
plugin/overloader/connlimiter.go:17
↓ 1 callersMethodupdateConnLimiter
(limitConfig *LimitConfig)
plugin/overloader/overloader.go:128
↓ 1 callersMethodupdateHandlerLimiter
(limitConfig *LimitConfig)
plugin/overloader/overloader.go:159
↓ 1 callersMethodupdateToken
()
plugin/overloader/qpslimiter.go:76
↓ 1 callersMethodupdateTotalQPSLimiter
(limitConfig *LimitConfig)
plugin/overloader/overloader.go:143
↓ 1 callersMethodvalidate
validate tests if the param conforms to it's validation constraints specified int the KEY_REGEXP struct tag
plugin/binder/binder.go:485
↓ 1 callersFunctionvalidateLen
(tuple string)
plugin/binder/binder.go:572
↓ 1 callersFunctionvalidateNonZero
()
plugin/binder/binder.go:562
↓ 1 callersFunctionvalidateRange
(tuple string)
plugin/binder/binder.go:606
↓ 1 callersFunctionvalidateRegexp
(isStrings bool, reg string)
plugin/binder/binder.go:646
↓ 1 callersFunctionvisitArgs
(args []argsKV, f func(k, v []byte))
utils/args.go:299
↓ 1 callersFunctionwithMtype
withMtype sets the message type.
message.go:145
↓ 1 callersMethodwriteBody
(bb *utils.ByteBuffer, m Message)
socket/protocol.go:189
↓ 1 callersMethodwriteField1
(ctx context.Context, oprot thrift.TProtocol)
proto/thriftproto/gen-go/thriftproto_test/test.go:101
↓ 1 callersMethodwriteHeader
(bb *utils.ByteBuffer, m Message)
socket/protocol.go:165
MethodAccept
Accept waits for and returns the next connection to the listener.
quic/quic.go:103
MethodAdd
(arg *[]int)
examples/proxy_and_seq/server_test.go:31
MethodAdd
Add handles addition request
examples/twoway/server_test.go:60
MethodAdd
Add handles addition request
examples/quic/server_test.go:63
MethodAdd
(arg *[]int)
examples/config/server_test.go:38
MethodAddBytesK
AddBytesK adds 'key=value' argument. Multiple values for the same key may be added.
utils/args.go:152
MethodAddBytesKV
AddBytesKV adds 'key=value' argument. Multiple values for the same key may be added.
utils/args.go:166
MethodAddBytesV
AddBytesV adds 'key=value' argument. Multiple values for the same key may be added.
utils/args.go:159
MethodAddMeta
AddMeta adds the header metadata 'key=value' for reply message. Multiple values for the same key may be added.
context.go:112
MethodAddMeta
AddMeta adds the header metadata 'key=value' for reply message. Multiple values for the same key may be added.
context.go:141
MethodAddMeta
AddMeta adds the header metadata 'key=value' for reply message. Multiple values for the same key may be added.
context.go:279
MethodAddSuffix
(arg *string)
examples/echo/server_test.go:35
MethodAddXferPipe
AddXferPipe appends transfer filter pipe of reply message.
context.go:116
MethodAddXferPipe
AddXferPipe appends transfer filter pipe of reply message.
context.go:145
MethodAddXferPipe
AddXferPipe appends transfer filter pipe of reply message.
context.go:299
MethodAdd__2
(arg *[]int)
examples/twoway/server_test.go:76
MethodAddr
Addr returns the address object.
helper.go:245
FunctionAppendHTMLEscapeBytes
AppendHTMLEscapeBytes appends html-escaped s to dst and returns the extended dst.
utils/bytesconv.go:44
FunctionAppendHTTPDate
AppendHTTPDate appends HTTP-compliant (RFC1123) representation of date to dst and returns the extended dst.
utils/bytesconv.go:114
FunctionAppendIPv4
AppendIPv4 appends string representation of the given ip v4 to dst and returns the extended dst.
utils/bytesconv.go:50
MethodAsBody
AsBody converts it to Body interface.
socket/message.go:68
MethodAsBody
AsBody converts it to Body interface.
socket/message.go:210
MethodAsHeader
AsHeader converts it to Header interface.
socket/message.go:66
MethodAsHeader
AsHeader converts it to Header interface.
socket/message.go:207
MethodAvailable
Available returns how many bytes are unused in the buffer.
utils/bufio_writer.go:60
MethodBind
Bind when the raw body binder is []byte type, now binds the input body to v.
context.go:136
MethodBind
Bind when the raw body binder is []byte type, now binds the input body to v.
context.go:663
FunctionBlack
(msg interface{}, styles ...string)
utils/color/color.go:248
FunctionBlackBg
(msg interface{}, styles ...string)
utils/color/color.go:284
FunctionBlue
(msg interface{}, styles ...string)
utils/color/color.go:264
FunctionBlueBg
(msg interface{}, styles ...string)
utils/color/color.go:300
MethodBody
Body returns the body object.
socket/message.go:323
MethodBodyCodec
BodyCodec returns the body codec type id.
socket/message.go:313
MethodBreak
(*struct{})
examples/session_age/server_test.go:55
MethodBuffered
Buffered returns the number of bytes that can be read from the current buffer.
utils/bufio_reader.go:81
MethodCall
Call sends a message and receives reply. NOTE: If the args is []byte or *[]byte type, it can automatically fill in the body codec name; If the session
session.go:758
MethodCall
Call sends a message and receives reply. NOTE: If the arg is []byte or *[]byte type, it can automatically fill in the body codec name; If the session
mixer/multiclient/multiclient.go:92
MethodChangeID
ChangeID changes the socket id. NOTE: if the old id is remoteAddr, won't delete the index from socketHub.
socket/socket_hub.go:89
MethodClose
Close closes the session.
session.go:770
MethodClose
Close closes peer.
peer.go:398
MethodClose
Close close the transport.
proto/thriftproto/binary_proto.go:223
MethodClose
Close closes the listener PacketConn.
quic/quic.go:119
MethodClose
Close closes the connection. Any blocked Read or Write operations will be unblocked and return errors.
quic/quic.go:158
MethodClose
()
codec/thrift_codec.go:106
MethodClose
Close closes the connection. Any blocked Read or Write operations will be unblocked and return errors.
mixer/evio/evio.go:194
MethodClose
Close closes the session.
mixer/multiclient/multiclient.go:56
MethodClose
()
mixer/websocket/websocket/websocket_test.go:500
MethodClose
()
mixer/websocket/websocket/hybi.go:244
MethodClose
Close closes the connection socket. Any blocked Read or Write operations will be unblocked and return errors. If it is from 'GetSocket()' function(a p
socket/socket.go:313
MethodCloseNotify
CloseNotify returns a channel that closes when the connection has gone away.
session.go:271
MethodContext
Context carries a deadline, a cancelation signal, and other values across API boundaries.
helper.go:134
MethodContext
Context carries a deadline, a cancelation signal, and other values across API boundaries.
context.go:319
MethodContext
Context carries a deadline, a cancelation signal, and other values across API boundaries.
context.go:682
MethodContext
Context carries a deadline, a cancelation signal, and other values across API boundaries.
context.go:782
MethodContext
Context returns the message handling context.
socket/message.go:244
MethodContextAge
ContextAge returns CALL or PUSH context max age.
session.go:158
MethodControlFD
ControlFD invokes f on the underlying connection's file descriptor or handle. The file descriptor fd is guaranteed to remain valid while f executes bu
session.go:333
MethodControlFD
ControlFD invokes f on the underlying connection's file descriptor or handle. The file descriptor fd is guaranteed to remain valid while f executes bu
socket/socket.go:40
MethodControlFD
ControlFD invokes f on the underlying connection's file descriptor or handle. The file descriptor fd is guaranteed to remain valid while f executes bu
socket/socket.go:199
MethodCopyMeta
CopyMeta returns the input message metadata copy.
context.go:271
MethodCostTime
CostTime returns the called cost time. If PeerConfig.CountTime=false, always returns 0.
helper.go:168
MethodCostTime
CostTime returns the called cost time. If PeerConfig.CountTime=false, always returns 0. NOTE: Inside, <-Done() is automatically called and blocked, un
context.go:711
MethodCostTime
CostTime returns the called cost time. If PeerConfig.CountTime=false, always returns 0. NOTE: Inside, <-Done() is automatically called and blocked,
context.go:837
MethodCount
Count returns the count.
utils/bufio_writer.go:55
MethodCount
Count returns the count.
utils/bufio_reader.go:76
MethodCountSession
CountSession returns the number of sessions.
peer.go:204
MethodCriticalf
Criticalf logs a message using CRITICAL as log level.
log.go:59
MethodCriticalf
Criticalf logs a message using CRITICAL as log level.
log.go:434
MethodCriticalf
Criticalf logs a message using CRITICAL as log level.
log.go:545
MethodCriticalf
Criticalf logs a message using CRITICAL as log level.
log.go:656
MethodCriticalf
Criticalf logs a message using CRITICAL as log level.
log.go:767
FunctionCyanBg
(msg interface{}, styles ...string)
utils/color/color.go:308
MethodDebugf
Debugf logs a message using DEBUG as log level.
log.go:484
MethodDebugf
Debugf logs a message using DEBUG as log level.
log.go:595
MethodDebugf
Debugf logs a message using DEBUG as log level.
log.go:706
MethodDebugf
Debugf logs a message using DEBUG as log level.
log.go:817
MethodDecode
Decode reads the next json-encoded value from its input and stores it in the value pointed to by v.
codec/_jsoniter_codec.go:83
MethodDelBytes
DelBytes deletes argument with the given key from query args.
utils/args.go:138
← previousnext →701–800 of 1,742, ranked by callers