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
↓ 1 callers
Method
startReadAndHandle
()
session.go:850
↓ 1 callers
Method
stopTicker
()
plugin/overloader/qpslimiter.go:72
↓ 1 callers
Method
structPack
(m erpc.Message)
proto/thriftproto/struct_proto.go:59
↓ 1 callers
Method
structUnpack
(m erpc.Message)
proto/thriftproto/struct_proto.go:100
↓ 1 callers
Method
takeHandlerQPS
(serviceMethod string)
plugin/overloader/overloader.go:210
↓ 1 callers
Function
toHSVTable
(rgbTable []consoleColor)
utils/color/colorable_windows.go:728
↓ 1 callers
Function
toSliceString
(b [][]byte)
plugin/binder/binder.go:363
↓ 1 callers
Method
update
(maxConn int32)
plugin/overloader/connlimiter.go:17
↓ 1 callers
Method
updateConnLimiter
(limitConfig *LimitConfig)
plugin/overloader/overloader.go:128
↓ 1 callers
Method
updateHandlerLimiter
(limitConfig *LimitConfig)
plugin/overloader/overloader.go:159
↓ 1 callers
Method
updateToken
()
plugin/overloader/qpslimiter.go:76
↓ 1 callers
Method
updateTotalQPSLimiter
(limitConfig *LimitConfig)
plugin/overloader/overloader.go:143
↓ 1 callers
Method
validate
validate tests if the param conforms to it's validation constraints specified int the KEY_REGEXP struct tag
plugin/binder/binder.go:485
↓ 1 callers
Function
validateLen
(tuple string)
plugin/binder/binder.go:572
↓ 1 callers
Function
validateNonZero
()
plugin/binder/binder.go:562
↓ 1 callers
Function
validateRange
(tuple string)
plugin/binder/binder.go:606
↓ 1 callers
Function
validateRegexp
(isStrings bool, reg string)
plugin/binder/binder.go:646
↓ 1 callers
Function
visitArgs
(args []argsKV, f func(k, v []byte))
utils/args.go:299
↓ 1 callers
Function
withMtype
withMtype sets the message type.
message.go:145
↓ 1 callers
Method
writeBody
(bb *utils.ByteBuffer, m Message)
socket/protocol.go:189
↓ 1 callers
Method
writeField1
(ctx context.Context, oprot thrift.TProtocol)
proto/thriftproto/gen-go/thriftproto_test/test.go:101
↓ 1 callers
Method
writeHeader
(bb *utils.ByteBuffer, m Message)
socket/protocol.go:165
Method
Accept
Accept waits for and returns the next connection to the listener.
quic/quic.go:103
Method
Add
(arg *[]int)
examples/proxy_and_seq/server_test.go:31
Method
Add
Add handles addition request
examples/twoway/server_test.go:60
Method
Add
Add handles addition request
examples/quic/server_test.go:63
Method
Add
(arg *[]int)
examples/config/server_test.go:38
Method
AddBytesK
AddBytesK adds 'key=value' argument. Multiple values for the same key may be added.
utils/args.go:152
Method
AddBytesKV
AddBytesKV adds 'key=value' argument. Multiple values for the same key may be added.
utils/args.go:166
Method
AddBytesV
AddBytesV adds 'key=value' argument. Multiple values for the same key may be added.
utils/args.go:159
Method
AddMeta
AddMeta adds the header metadata 'key=value' for reply message. Multiple values for the same key may be added.
context.go:112
Method
AddMeta
AddMeta adds the header metadata 'key=value' for reply message. Multiple values for the same key may be added.
context.go:141
Method
AddMeta
AddMeta adds the header metadata 'key=value' for reply message. Multiple values for the same key may be added.
context.go:279
Method
AddSuffix
(arg *string)
examples/echo/server_test.go:35
Method
AddXferPipe
AddXferPipe appends transfer filter pipe of reply message.
context.go:116
Method
AddXferPipe
AddXferPipe appends transfer filter pipe of reply message.
context.go:145
Method
AddXferPipe
AddXferPipe appends transfer filter pipe of reply message.
context.go:299
Method
Add__2
(arg *[]int)
examples/twoway/server_test.go:76
Method
Addr
Addr returns the address object.
helper.go:245
Function
AppendHTMLEscapeBytes
AppendHTMLEscapeBytes appends html-escaped s to dst and returns the extended dst.
utils/bytesconv.go:44
Function
AppendHTTPDate
AppendHTTPDate appends HTTP-compliant (RFC1123) representation of date to dst and returns the extended dst.
utils/bytesconv.go:114
Function
AppendIPv4
AppendIPv4 appends string representation of the given ip v4 to dst and returns the extended dst.
utils/bytesconv.go:50
Method
AsBody
AsBody converts it to Body interface.
socket/message.go:68
Method
AsBody
AsBody converts it to Body interface.
socket/message.go:210
Method
AsHeader
AsHeader converts it to Header interface.
socket/message.go:66
Method
AsHeader
AsHeader converts it to Header interface.
socket/message.go:207
Method
Available
Available returns how many bytes are unused in the buffer.
utils/bufio_writer.go:60
Method
Bind
Bind when the raw body binder is []byte type, now binds the input body to v.
context.go:136
Method
Bind
Bind when the raw body binder is []byte type, now binds the input body to v.
context.go:663
Function
Black
(msg interface{}, styles ...string)
utils/color/color.go:248
Function
BlackBg
(msg interface{}, styles ...string)
utils/color/color.go:284
Function
Blue
(msg interface{}, styles ...string)
utils/color/color.go:264
Function
BlueBg
(msg interface{}, styles ...string)
utils/color/color.go:300
Method
Body
Body returns the body object.
socket/message.go:323
Method
BodyCodec
BodyCodec returns the body codec type id.
socket/message.go:313
Method
Break
(*struct{})
examples/session_age/server_test.go:55
Method
Buffered
Buffered returns the number of bytes that can be read from the current buffer.
utils/bufio_reader.go:81
Method
Call
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
Method
Call
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
Method
ChangeID
ChangeID changes the socket id. NOTE: if the old id is remoteAddr, won't delete the index from socketHub.
socket/socket_hub.go:89
Method
Close
Close closes the session.
session.go:770
Method
Close
Close closes peer.
peer.go:398
Method
Close
Close close the transport.
proto/thriftproto/binary_proto.go:223
Method
Close
Close closes the listener PacketConn.
quic/quic.go:119
Method
Close
Close closes the connection. Any blocked Read or Write operations will be unblocked and return errors.
quic/quic.go:158
Method
Close
()
codec/thrift_codec.go:106
Method
Close
Close closes the connection. Any blocked Read or Write operations will be unblocked and return errors.
mixer/evio/evio.go:194
Method
Close
Close closes the session.
mixer/multiclient/multiclient.go:56
Method
Close
()
mixer/websocket/websocket/websocket_test.go:500
Method
Close
()
mixer/websocket/websocket/hybi.go:244
Method
Close
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
Method
CloseNotify
CloseNotify returns a channel that closes when the connection has gone away.
session.go:271
Method
Context
Context carries a deadline, a cancelation signal, and other values across API boundaries.
helper.go:134
Method
Context
Context carries a deadline, a cancelation signal, and other values across API boundaries.
context.go:319
Method
Context
Context carries a deadline, a cancelation signal, and other values across API boundaries.
context.go:682
Method
Context
Context carries a deadline, a cancelation signal, and other values across API boundaries.
context.go:782
Method
Context
Context returns the message handling context.
socket/message.go:244
Method
ContextAge
ContextAge returns CALL or PUSH context max age.
session.go:158
Method
ControlFD
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
Method
ControlFD
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
Method
ControlFD
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
Method
CopyMeta
CopyMeta returns the input message metadata copy.
context.go:271
Method
CostTime
CostTime returns the called cost time. If PeerConfig.CountTime=false, always returns 0.
helper.go:168
Method
CostTime
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
Method
CostTime
CostTime returns the called cost time. If PeerConfig.CountTime=false, always returns 0. NOTE: Inside, <-Done() is automatically called and blocked,
context.go:837
Method
Count
Count returns the count.
utils/bufio_writer.go:55
Method
Count
Count returns the count.
utils/bufio_reader.go:76
Method
CountSession
CountSession returns the number of sessions.
peer.go:204
Method
Criticalf
Criticalf logs a message using CRITICAL as log level.
log.go:59
Method
Criticalf
Criticalf logs a message using CRITICAL as log level.
log.go:434
Method
Criticalf
Criticalf logs a message using CRITICAL as log level.
log.go:545
Method
Criticalf
Criticalf logs a message using CRITICAL as log level.
log.go:656
Method
Criticalf
Criticalf logs a message using CRITICAL as log level.
log.go:767
Function
CyanBg
(msg interface{}, styles ...string)
utils/color/color.go:308
Method
Debugf
Debugf logs a message using DEBUG as log level.
log.go:484
Method
Debugf
Debugf logs a message using DEBUG as log level.
log.go:595
Method
Debugf
Debugf logs a message using DEBUG as log level.
log.go:706
Method
Debugf
Debugf logs a message using DEBUG as log level.
log.go:817
Method
Decode
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
Method
DelBytes
DelBytes deletes argument with the given key from query args.
utils/args.go:138
← previous
next →
701–800 of 1,742, ranked by callers