Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytemode/pitaya-notes
/ functions
Functions
1,948 in github.com/bytemode/pitaya-notes
⨍
Functions
1,948
◇
Types & classes
272
Method
AddServer
AddServer indicates an expected call of AddServer
cluster/mocks/cluster.go:252
Method
AfterInit
AfterInit was called after the component is initialized.
modules/base.go:32
Method
AfterInit
AfterInit was called after the component is initialized.
component/base.go:30
Method
AfterInit
()
component/component.go:26
Method
AfterInit
AfterInit mocks base method
interfaces/mocks/interfaces.go:48
Method
AfterInit
AfterInit indicates an expected call of AfterInit
interfaces/mocks/interfaces.go:53
Method
AfterInit
AfterInit component lifetime callback
examples/demo/cluster_grpc/services/room.go:93
Method
AfterInit
AfterInit component lifetime callback
examples/demo/chat/main.go:61
Method
AfterInit
AfterInit component lifetime callback
examples/demo/cluster_protobuf/services/room.go:60
Method
AfterInit
AfterInit component lifetime callback
examples/demo/cluster/services/room.go:83
Method
AfterInit
AfterInit runs after initialization
cluster/nats_rpc_server.go:349
Method
AfterInit
AfterInit runs after initialization
cluster/grpc_rpc_client.go:276
Method
AfterInit
AfterInit runs after initialization
cluster/nats_rpc_client.go:216
Method
AfterInit
AfterInit runs after initialization
cluster/grpc_rpc_server.go:78
Method
AfterInit
AfterInit executes after Init
cluster/etcd_service_discovery.go:243
Method
AfterInit
AfterInit mocks base method
cluster/mocks/service_discovery.go:109
Method
AfterInit
AfterInit indicates an expected call of AfterInit
cluster/mocks/service_discovery.go:114
Method
AfterInit
AfterInit mocks base method
cluster/mocks/cluster.go:64
Method
AfterInit
AfterInit indicates an expected call of AfterInit
cluster/mocks/cluster.go:69
Method
AfterInit
AfterInit mocks base method
cluster/mocks/cluster.go:192
Method
AfterInit
AfterInit indicates an expected call of AfterInit
cluster/mocks/cluster.go:197
Method
BeforeShutdown
BeforeShutdown was called before the component to shutdown.
modules/base.go:35
Method
BeforeShutdown
BeforeShutdown was called before the component to shutdown.
component/base.go:33
Method
BeforeShutdown
BeforeShutdown mocks base method
interfaces/mocks/interfaces.go:58
Method
BeforeShutdown
BeforeShutdown indicates an expected call of BeforeShutdown
interfaces/mocks/interfaces.go:63
Method
BeforeShutdown
BeforeShutdown runs before shutdown
cluster/nats_rpc_server.go:352
Method
BeforeShutdown
BeforeShutdown runs before shutdown
cluster/grpc_rpc_client.go:279
Method
BeforeShutdown
BeforeShutdown runs before shutdown
cluster/nats_rpc_client.go:219
Method
BeforeShutdown
BeforeShutdown runs before shutdown
cluster/grpc_rpc_server.go:81
Method
BeforeShutdown
BeforeShutdown executes before shutting down and will remove the server from the list
cluster/etcd_service_discovery.go:475
Method
BeforeShutdown
BeforeShutdown mocks base method
cluster/mocks/service_discovery.go:119
Method
BeforeShutdown
BeforeShutdown indicates an expected call of BeforeShutdown
cluster/mocks/service_discovery.go:124
Method
BeforeShutdown
BeforeShutdown mocks base method
cluster/mocks/cluster.go:74
Method
BeforeShutdown
BeforeShutdown indicates an expected call of BeforeShutdown
cluster/mocks/cluster.go:79
Method
BeforeShutdown
BeforeShutdown mocks base method
cluster/mocks/cluster.go:202
Method
BeforeShutdown
BeforeShutdown indicates an expected call of BeforeShutdown
cluster/mocks/cluster.go:207
Function
BenchmarkBackHandlerWithSessionOnlyReturnsPtr
(b *testing.B)
benchmark/benchmark_test.go:159
Function
BenchmarkBackHandlerWithSessionOnlyReturnsPtrParallel
(b *testing.B)
benchmark/benchmark_test.go:174
Function
BenchmarkBackHandlerWithSessionOnlyReturnsPtrParallelMultipleClients
(b *testing.B)
benchmark/benchmark_test.go:190
Function
BenchmarkCreateManyClients
(b *testing.B)
benchmark/benchmark_test.go:52
Function
BenchmarkFrontHandlerWithSessionAndPtrReturnsPtr
(b *testing.B)
benchmark/benchmark_test.go:81
Function
BenchmarkFrontHandlerWithSessionAndPtrReturnsPtrManyClientsParallel
(b *testing.B)
benchmark/benchmark_test.go:95
Function
BenchmarkFrontHandlerWithSessionAndPtrReturnsPtrParallel
(b *testing.B)
benchmark/benchmark_test.go:112
Function
BenchmarkFrontHandlerWithSessionAndRawReturnsRaw
(b *testing.B)
benchmark/benchmark_test.go:67
Function
BenchmarkFrontHandlerWithSessionOnlyReturnsPtr
(b *testing.B)
benchmark/benchmark_test.go:129
Function
BenchmarkFrontHandlerWithSessionOnlyReturnsPtrParallel
(b *testing.B)
benchmark/benchmark_test.go:143
Method
BroadcastSessionBind
BroadcastSessionBind sends the binding information to other servers that may be interested in this info
cluster/grpc_rpc_client.go:164
Method
BroadcastSessionBind
BroadcastSessionBind mocks base method
cluster/mocks/cluster.go:155
Method
BroadcastSessionBind
BroadcastSessionBind indicates an expected call of BroadcastSessionBind
cluster/mocks/cluster.go:162
Method
Call
(ctx context.Context, in *Request, opts ...grpc.CallOption)
protos/pitaya.pb.go:52
Method
Call
(context.Context, *Request)
protos/pitaya.pb.go:90
Method
Call
Call mocks base method
protos/mocks/pitaya.go:39
Method
Call
Call indicates an expected call of Call
protos/mocks/pitaya.go:51
Method
Call
Call mocks base method
protos/mocks/pitaya.go:134
Method
Call
Call indicates an expected call of Call
protos/mocks/pitaya.go:142
Method
Call
Call processes a remote call rpc客户端的方法调用
service/remote.go:128
Method
Call
Call 查找连接到server的 grpc client 然后构建protos.Request参数进行 rpc call调用返回 protos.Response
cluster/grpc_rpc_client.go:97
Method
Call
Call mocks base method
cluster/mocks/cluster.go:167
Method
Call
Call indicates an expected call of Call
cluster/mocks/cluster.go:175
Method
CallLog
CallLog makes ReliableRPC to metagame LogRemote
examples/demo/worker/services/room.go:18
Method
Check
(now time.Time)
timer_test.go:34
Method
Check
(now time.Time)
timer/timer_test.go:33
Method
Check
(now time.Time)
timer/timer_test.go:39
Method
Clear
Clear should not be used after pitaya is running
pipeline/pipeline.go:82
Method
Close
Close mocks base method
mocks/net.go:112
Method
Close
Close indicates an expected call of Close
mocks/net.go:119
Method
Close
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
Method
Close
Close mocks base method
session/mocks/session.go:68
Method
Close
Close indicates an expected call of Close
session/mocks/session.go:75
Method
Close
Close closes the connection. Any blocked Read or Write operations will be unblocked and return errors.
acceptor/ws_acceptor.go:223
Function
ConfigureClusterApp
()
app_test.go:403
Method
ConnectTo
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
Method
ConnectTo
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
Method
ConnectToTLS
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
Method
ConnectToTLS
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
Method
ConnectedStatus
()
client/pitayaclient.go:33
Method
ConnectedStatus
ConnectedStatus return the connection status
client/client.go:100
Method
Count
Count mocks base method
metrics/mocks/statsd_reporter.go:37
Method
Count
Count indicates an expected call of Count
metrics/mocks/statsd_reporter.go:44
Method
CreatePlayerCheat
CreatePlayerCheat ...
examples/demo/pipeline/main.go:42
Method
Debugln
(args ...interface{})
logger/logger.go:35
Method
Decode
Decode mocks base method
conn/codec/mocks/packet_decoder.go:37
Method
Decode
Decode indicates an expected call of Decode
conn/codec/mocks/packet_decoder.go:45
Method
Decode
Decode decodes the message
conn/message/message_encoder.go:139
Method
Descriptor
()
protos/response.pb.go:32
Method
Descriptor
()
protos/request.pb.go:58
Method
Descriptor
()
protos/protodescriptor.pb.go:32
Method
Descriptor
()
protos/protodescriptor.pb.go:70
Method
Descriptor
()
protos/protodescriptor.pb.go:108
Method
Descriptor
()
protos/protodescriptor.pb.go:146
Method
Descriptor
()
protos/session.pb.go:33
Method
Descriptor
()
protos/msg.pb.go:64
Method
Descriptor
()
protos/doc.pb.go:31
Method
Descriptor
()
protos/error.pb.go:33
Method
Descriptor
()
protos/kick.pb.go:31
Method
Descriptor
()
protos/kick.pb.go:69
Method
Descriptor
()
protos/push.pb.go:33
Method
Descriptor
()
protos/docmsg.pb.go:31
Method
Descriptor
()
protos/bind.pb.go:32
Method
Descriptor
()
protos/test/testrequest.pb.go:31
← previous
next →
701–800 of 1,948, ranked by callers