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
LogRemote
LogRemote logs argument when called
examples/demo/worker/services/metagame.go:17
Method
Marshal
Marshal mocks base method
serialize/mocks/serializer.go:48
Method
Marshal
Marshal indicates an expected call of Marshal
serialize/mocks/serializer.go:56
Method
Message
Message sync last message to all members
examples/demo/cluster_grpc/services/room.go:157
Method
Message
Message sync last message to all members
examples/demo/chat/main.go:97
Method
Message
Message sync last message to all members
examples/demo/cluster_protobuf/services/room.go:104
Method
MessageRemote
MessageRemote just echoes the given message
examples/demo/cluster_grpc/services/room.go:175
Method
MsgChannel
()
client/pitayaclient.go:34
Method
MsgChannel
MsgChannel return the incoming message channel
client/client.go:95
Method
MsgChannel
MsgChannel return the incoming message channel
client/protoclient.go:70
Method
Network
Network mocks base method
mocks/net.go:39
Method
Network
Network indicates an expected call of Network
mocks/net.go:46
Method
Network
()
service/handler_test.go:60
Method
Network
()
session/session_test.go:56
Method
Network
()
agent/agent_test.go:53
Method
Network
()
agent/agent_test.go:927
Function
NewAPIDocsGen
NewAPIDocsGen creates a new APIDocsGen
modules/api_docs_gen.go:36
Function
NewMockAddr
NewMockAddr creates a new mock instance
mocks/net.go:27
Function
NewMockBindingStorage
NewMockBindingStorage creates a new mock instance
interfaces/mocks/interfaces.go:91
Function
NewMockClient
NewMockClient creates a new mock instance
metrics/mocks/statsd_reporter.go:25
Function
NewMockEncoder
NewMockEncoder creates a new mock instance
conn/message/mocks/message_encoder.go:25
Function
NewMockModule
NewMockModule creates a new mock instance
interfaces/mocks/interfaces.go:24
Function
NewMockPacketDecoder
NewMockPacketDecoder creates a new mock instance
conn/codec/mocks/packet_decoder.go:25
Function
NewMockPacketEncoder
NewMockPacketEncoder creates a new mock instance
conn/codec/mocks/packet_encoder.go:25
Function
NewMockPitayaClient
NewMockPitayaClient creates a new mock instance
protos/mocks/pitaya.go:27
Function
NewMockPitayaServer
NewMockPitayaServer creates a new mock instance
protos/mocks/pitaya.go:122
Function
NewMockRPCClient
NewMockRPCClient creates a new mock instance
cluster/mocks/cluster.go:107
Function
NewMockRPCServer
NewMockRPCServer creates a new mock instance
cluster/mocks/cluster.go:30
Function
NewMockRemoteBindingListener
NewMockRemoteBindingListener creates a new mock instance
cluster/mocks/cluster.go:278
Function
NewMockSDListener
NewMockSDListener creates a new mock instance
cluster/mocks/cluster.go:235
Function
NewProto
NewProto returns a new protoclient with the auto documentation route.
client/protoclient.go:300
Function
NewUniqueSession
NewUniqueSession creates a new unique session module
modules/unique_session.go:38
Function
NewWithDescriptor
NewWithDescriptor returns a new protoclient with the descriptors route and auto documentation route.
client/protoclient.go:308
Method
NotifySessionData
NotifySessionData sets the session data
examples/demo/cluster_grpc/services/connector.go:61
Method
NotifySessionData
NotifySessionData sets the session data
examples/demo/cluster/services/connector.go:62
Method
OnUserBind
OnUserBind method should be called when a user binds a session in remote servers
modules/unique_session.go:46
Method
OnUserBind
OnUserBind mocks base method
cluster/mocks/cluster.go:290
Method
OnUserBind
OnUserBind indicates an expected call of OnUserBind
cluster/mocks/cluster.go:295
Method
Outbound
Outbound gets the outbound status
examples/demo/cluster_grpc/services/room.go:64
Method
Outbound
Outbound gets the outbound status
examples/demo/cluster_protobuf/services/room.go:34
Method
Ping
Ping returns a pong
examples/demo/rate_limiting/services/room.go:20
Method
ProtoMessage
()
protos/response.pb.go:31
Method
ProtoMessage
()
protos/request.pb.go:57
Method
ProtoMessage
()
protos/protodescriptor.pb.go:31
Method
ProtoMessage
()
protos/protodescriptor.pb.go:69
Method
ProtoMessage
()
protos/protodescriptor.pb.go:107
Method
ProtoMessage
()
protos/protodescriptor.pb.go:145
Method
ProtoMessage
()
protos/session.pb.go:32
Method
ProtoMessage
()
protos/msg.pb.go:63
Method
ProtoMessage
()
protos/doc.pb.go:30
Method
ProtoMessage
()
protos/error.pb.go:32
Method
ProtoMessage
()
protos/kick.pb.go:30
Method
ProtoMessage
()
protos/kick.pb.go:68
Method
ProtoMessage
()
protos/push.pb.go:32
Method
ProtoMessage
()
protos/docmsg.pb.go:30
Method
ProtoMessage
()
protos/bind.pb.go:31
Method
ProtoMessage
()
protos/test/testrequest.pb.go:30
Method
ProtoMessage
()
protos/test/testresponse.pb.go:31
Method
ProtoMessage
()
protos/test/somestruct.pb.go:31
Method
ProtoMessage
()
benchmark/testdata/test.pb.go:30
Method
ProtoMessage
()
benchmark/testdata/test.pb.go:68
Method
ProtoMessage
()
worker/worker_test.go:22
Method
ProtoMessage
()
examples/demo/protos/cluster.pb.go:31
Method
ProtoMessage
()
examples/demo/protos/cluster.pb.go:70
Method
ProtoMessage
()
examples/demo/protos/cluster.pb.go:108
Method
ProtoMessage
()
examples/demo/worker/protos/response.pb.go:31
Method
ProtoMessage
()
examples/demo/worker/protos/arg.pb.go:30
Method
ProtoMessage
()
examples/demo/cluster_protobuf/protos/cluster.pb.go:32
Method
ProtoMessage
()
examples/demo/cluster_protobuf/protos/cluster.pb.go:79
Method
ProtoMessage
()
examples/demo/cluster_protobuf/protos/cluster.pb.go:125
Method
ProtoMessage
()
examples/demo/cluster_protobuf/protos/cluster.pb.go:164
Method
ProtoMessage
()
examples/demo/cluster_protobuf/protos/cluster.pb.go:210
Method
ProtoMessage
()
examples/testing/protos/cluster.pb.go:31
Method
ProtoMessage
()
examples/testing/protos/cluster.pb.go:71
Method
Push
Push message to client
session/session.go:218
Method
Push
Push mocks base method
session/mocks/session.go:39
Method
Push
Push indicates an expected call of Push
session/mocks/session.go:46
Method
PushBack
PushBack should not be used after pitaya is running
pipeline/pipeline.go:77
Method
PushFront
PushFront should not be used after pitaya is running
pipeline/pipeline.go:69
Method
PushToUser
(ctx context.Context, in *Push, opts ...grpc.CallOption)
protos/pitaya.pb.go:61
Method
PushToUser
(context.Context, *Push)
protos/pitaya.pb.go:91
Method
PushToUser
PushToUser mocks base method
protos/mocks/pitaya.go:57
Method
PushToUser
PushToUser indicates an expected call of PushToUser
protos/mocks/pitaya.go:69
Method
PushToUser
PushToUser mocks base method
protos/mocks/pitaya.go:147
Method
PushToUser
PushToUser indicates an expected call of PushToUser
protos/mocks/pitaya.go:155
Method
PutBinding
(uid string)
interfaces/interfaces.go:34
Method
PutBinding
PutBinding mocks base method
interfaces/mocks/interfaces.go:116
Method
PutBinding
PutBinding indicates an expected call of PutBinding
interfaces/mocks/interfaces.go:123
Method
RPC
RPC mocks base method
worker/mocks/rpc_job.go:52
Method
RPC
RPC indicates an expected call of RPC
worker/mocks/rpc_job.go:59
Method
RPC
RPC calls pitaya's rpc
examples/demo/worker/services/worker.go:41
Method
RPCTestNoArgs
RPCTestNoArgs remote for e2e tests
examples/testing/main.go:92
Method
RPCTestPtrReturnsPtr
RPCTestPtrReturnsPtr remote for e2e tests
examples/testing/main.go:79
Method
RPCTestRawPtrReturnsPtr
RPCTestRawPtrReturnsPtr remote for e2e tests
examples/testing/main.go:71
Method
RPCTestReturnsError
RPCTestReturnsError remote for e2e tests
examples/testing/main.go:87
Method
Read
Read indicates an expected call of Read
mocks/net.go:94
Function
ReliableRPCWithOptions
ReliableRPCWithOptions enqueues RPC to worker Receive worker options for this specific RPC
rpc.go:57
Method
Remote1
(ctx context.Context, ss *test.SomeStruct)
service/remote_test.go:54
Method
Remote2
(ctx context.Context)
service/remote_test.go:58
Method
RemoteAddr
RemoteAddr mocks base method
mocks/net.go:136
← previous
next →
1,001–1,100 of 1,948, ranked by callers