MCPcopy Create free account

hub / github.com/bytemode/pitaya-notes / functions

Functions1,948 in github.com/bytemode/pitaya-notes

MethodAddServer
AddServer indicates an expected call of AddServer
cluster/mocks/cluster.go:252
MethodAfterInit
AfterInit was called after the component is initialized.
modules/base.go:32
MethodAfterInit
AfterInit was called after the component is initialized.
component/base.go:30
MethodAfterInit
()
component/component.go:26
MethodAfterInit
AfterInit mocks base method
interfaces/mocks/interfaces.go:48
MethodAfterInit
AfterInit indicates an expected call of AfterInit
interfaces/mocks/interfaces.go:53
MethodAfterInit
AfterInit component lifetime callback
examples/demo/cluster_grpc/services/room.go:93
MethodAfterInit
AfterInit component lifetime callback
examples/demo/chat/main.go:61
MethodAfterInit
AfterInit component lifetime callback
examples/demo/cluster_protobuf/services/room.go:60
MethodAfterInit
AfterInit component lifetime callback
examples/demo/cluster/services/room.go:83
MethodAfterInit
AfterInit runs after initialization
cluster/nats_rpc_server.go:349
MethodAfterInit
AfterInit runs after initialization
cluster/grpc_rpc_client.go:276
MethodAfterInit
AfterInit runs after initialization
cluster/nats_rpc_client.go:216
MethodAfterInit
AfterInit runs after initialization
cluster/grpc_rpc_server.go:78
MethodAfterInit
AfterInit executes after Init
cluster/etcd_service_discovery.go:243
MethodAfterInit
AfterInit mocks base method
cluster/mocks/service_discovery.go:109
MethodAfterInit
AfterInit indicates an expected call of AfterInit
cluster/mocks/service_discovery.go:114
MethodAfterInit
AfterInit mocks base method
cluster/mocks/cluster.go:64
MethodAfterInit
AfterInit indicates an expected call of AfterInit
cluster/mocks/cluster.go:69
MethodAfterInit
AfterInit mocks base method
cluster/mocks/cluster.go:192
MethodAfterInit
AfterInit indicates an expected call of AfterInit
cluster/mocks/cluster.go:197
MethodBeforeShutdown
BeforeShutdown was called before the component to shutdown.
modules/base.go:35
MethodBeforeShutdown
BeforeShutdown was called before the component to shutdown.
component/base.go:33
MethodBeforeShutdown
BeforeShutdown mocks base method
interfaces/mocks/interfaces.go:58
MethodBeforeShutdown
BeforeShutdown indicates an expected call of BeforeShutdown
interfaces/mocks/interfaces.go:63
MethodBeforeShutdown
BeforeShutdown runs before shutdown
cluster/nats_rpc_server.go:352
MethodBeforeShutdown
BeforeShutdown runs before shutdown
cluster/grpc_rpc_client.go:279
MethodBeforeShutdown
BeforeShutdown runs before shutdown
cluster/nats_rpc_client.go:219
MethodBeforeShutdown
BeforeShutdown runs before shutdown
cluster/grpc_rpc_server.go:81
MethodBeforeShutdown
BeforeShutdown executes before shutting down and will remove the server from the list
cluster/etcd_service_discovery.go:475
MethodBeforeShutdown
BeforeShutdown mocks base method
cluster/mocks/service_discovery.go:119
MethodBeforeShutdown
BeforeShutdown indicates an expected call of BeforeShutdown
cluster/mocks/service_discovery.go:124
MethodBeforeShutdown
BeforeShutdown mocks base method
cluster/mocks/cluster.go:74
MethodBeforeShutdown
BeforeShutdown indicates an expected call of BeforeShutdown
cluster/mocks/cluster.go:79
MethodBeforeShutdown
BeforeShutdown mocks base method
cluster/mocks/cluster.go:202
MethodBeforeShutdown
BeforeShutdown indicates an expected call of BeforeShutdown
cluster/mocks/cluster.go:207
FunctionBenchmarkBackHandlerWithSessionOnlyReturnsPtr
(b *testing.B)
benchmark/benchmark_test.go:159
FunctionBenchmarkBackHandlerWithSessionOnlyReturnsPtrParallel
(b *testing.B)
benchmark/benchmark_test.go:174
FunctionBenchmarkBackHandlerWithSessionOnlyReturnsPtrParallelMultipleClients
(b *testing.B)
benchmark/benchmark_test.go:190
FunctionBenchmarkCreateManyClients
(b *testing.B)
benchmark/benchmark_test.go:52
FunctionBenchmarkFrontHandlerWithSessionAndPtrReturnsPtr
(b *testing.B)
benchmark/benchmark_test.go:81
FunctionBenchmarkFrontHandlerWithSessionAndPtrReturnsPtrManyClientsParallel
(b *testing.B)
benchmark/benchmark_test.go:95
FunctionBenchmarkFrontHandlerWithSessionAndPtrReturnsPtrParallel
(b *testing.B)
benchmark/benchmark_test.go:112
FunctionBenchmarkFrontHandlerWithSessionAndRawReturnsRaw
(b *testing.B)
benchmark/benchmark_test.go:67
FunctionBenchmarkFrontHandlerWithSessionOnlyReturnsPtr
(b *testing.B)
benchmark/benchmark_test.go:129
FunctionBenchmarkFrontHandlerWithSessionOnlyReturnsPtrParallel
(b *testing.B)
benchmark/benchmark_test.go:143
MethodBroadcastSessionBind
BroadcastSessionBind sends the binding information to other servers that may be interested in this info
cluster/grpc_rpc_client.go:164
MethodBroadcastSessionBind
BroadcastSessionBind mocks base method
cluster/mocks/cluster.go:155
MethodBroadcastSessionBind
BroadcastSessionBind indicates an expected call of BroadcastSessionBind
cluster/mocks/cluster.go:162
MethodCall
(ctx context.Context, in *Request, opts ...grpc.CallOption)
protos/pitaya.pb.go:52
MethodCall
(context.Context, *Request)
protos/pitaya.pb.go:90
MethodCall
Call mocks base method
protos/mocks/pitaya.go:39
MethodCall
Call indicates an expected call of Call
protos/mocks/pitaya.go:51
MethodCall
Call mocks base method
protos/mocks/pitaya.go:134
MethodCall
Call indicates an expected call of Call
protos/mocks/pitaya.go:142
MethodCall
Call processes a remote call rpc客户端的方法调用
service/remote.go:128
MethodCall
Call 查找连接到server的 grpc client 然后构建protos.Request参数进行 rpc call调用返回 protos.Response
cluster/grpc_rpc_client.go:97
MethodCall
Call mocks base method
cluster/mocks/cluster.go:167
MethodCall
Call indicates an expected call of Call
cluster/mocks/cluster.go:175
MethodCallLog
CallLog makes ReliableRPC to metagame LogRemote
examples/demo/worker/services/room.go:18
MethodCheck
(now time.Time)
timer_test.go:34
MethodCheck
(now time.Time)
timer/timer_test.go:33
MethodCheck
(now time.Time)
timer/timer_test.go:39
MethodClear
Clear should not be used after pitaya is running
pipeline/pipeline.go:82
MethodClose
Close mocks base method
mocks/net.go:112
MethodClose
Close indicates an expected call of Close
mocks/net.go:119
MethodClose
Close terminates current session, session related data will not be released, all related data should be cleared explicitly in Session closed callback
session/session.go:343
MethodClose
Close mocks base method
session/mocks/session.go:68
MethodClose
Close indicates an expected call of Close
session/mocks/session.go:75
MethodClose
Close closes the connection. Any blocked Read or Write operations will be unblocked and return errors.
acceptor/ws_acceptor.go:223
FunctionConfigureClusterApp
()
app_test.go:403
MethodConnectTo
ConnectTo connects to the server at addr, for now the only supported protocol is tcp this methods blocks as it also handles the messages from the serv
client/client.go:353
MethodConnectTo
ConnectTo connects to the server at addr, for now the only supported protocol is tcp this methods blocks as it also handles the messages from the serv
client/protoclient.go:441
MethodConnectToTLS
ConnectToTLS connects to the server at addr using TLS, for now the only supported protocol is tcp this methods blocks as it also handles the messages
client/client.go:333
MethodConnectToTLS
ConnectToTLS connects to the server at addr using TLS, for now the only supported protocol is tcp this methods blocks as it also handles the messages
client/protoclient.go:420
MethodConnectedStatus
()
client/pitayaclient.go:33
MethodConnectedStatus
ConnectedStatus return the connection status
client/client.go:100
MethodCount
Count mocks base method
metrics/mocks/statsd_reporter.go:37
MethodCount
Count indicates an expected call of Count
metrics/mocks/statsd_reporter.go:44
MethodCreatePlayerCheat
CreatePlayerCheat ...
examples/demo/pipeline/main.go:42
MethodDebugln
(args ...interface{})
logger/logger.go:35
MethodDecode
Decode mocks base method
conn/codec/mocks/packet_decoder.go:37
MethodDecode
Decode indicates an expected call of Decode
conn/codec/mocks/packet_decoder.go:45
MethodDecode
Decode decodes the message
conn/message/message_encoder.go:139
MethodDescriptor
()
protos/response.pb.go:32
MethodDescriptor
()
protos/request.pb.go:58
MethodDescriptor
()
protos/protodescriptor.pb.go:32
MethodDescriptor
()
protos/protodescriptor.pb.go:70
MethodDescriptor
()
protos/protodescriptor.pb.go:108
MethodDescriptor
()
protos/protodescriptor.pb.go:146
MethodDescriptor
()
protos/session.pb.go:33
MethodDescriptor
()
protos/msg.pb.go:64
MethodDescriptor
()
protos/doc.pb.go:31
MethodDescriptor
()
protos/error.pb.go:33
MethodDescriptor
()
protos/kick.pb.go:31
MethodDescriptor
()
protos/kick.pb.go:69
MethodDescriptor
()
protos/push.pb.go:33
MethodDescriptor
()
protos/docmsg.pb.go:31
MethodDescriptor
()
protos/bind.pb.go:32
MethodDescriptor
()
protos/test/testrequest.pb.go:31
← previousnext →701–800 of 1,948, ranked by callers