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
RemoteAddr
RemoteAddr indicates an expected call of RemoteAddr
mocks/net.go:143
Method
RemoteAddr
RemoteAddr returns the remote network address.
session/session.go:363
Method
RemoteAddr
RemoteAddr mocks base method
session/mocks/session.go:92
Method
RemoteAddr
RemoteAddr indicates an expected call of RemoteAddr
session/mocks/session.go:99
Method
RemoteAddr
RemoteAddr returns the remote network address.
acceptor/ws_acceptor.go:233
Method
RemoteErr
(ctx context.Context)
service/remote_test.go:66
Method
RemoteFunc
RemoteFunc is a function that will be called remotely
examples/demo/cluster_grpc/services/connector.go:82
Method
RemoteFunc
RemoteFunc is a function that will be called remotelly
examples/demo/cluster_protobuf/services/connector.go:27
Method
RemoteFunc
RemoteFunc is a function that will be called remotely
examples/demo/cluster/services/connector.go:71
Method
RemoteRes
(ctx context.Context, b *test.SomeStruct)
service/remote_test.go:62
Method
RemoteStruct
(ctx context.Context, ss *test.SomeStruct)
docgenerator/generator_test.go:76
Method
RemoveServer
RemoveServer mocks base method
cluster/mocks/cluster.go:257
Method
RemoveServer
RemoveServer indicates an expected call of RemoveServer
cluster/mocks/cluster.go:262
Method
ReportCount
ReportCount reports a summary metric
metrics/prometheus_reporter.go:323
Method
ReportCount
ReportCount mocks base method
metrics/mocks/reporter.go:37
Method
ReportCount
ReportCount indicates an expected call of ReportCount
metrics/mocks/reporter.go:44
Method
ReportGauge
ReportGauge reports a gauge metric
metrics/prometheus_reporter.go:334
Method
ReportGauge
ReportGauge sents the gauge value and reports to statsd
metrics/statsd_reporter.go:111
Method
ReportGauge
ReportGauge mocks base method
metrics/mocks/reporter.go:61
Method
ReportGauge
ReportGauge indicates an expected call of ReportGauge
metrics/mocks/reporter.go:68
Method
ReportSummary
ReportSummary reports a summary metric
metrics/prometheus_reporter.go:312
Method
ReportSummary
ReportSummary mocks base method
metrics/mocks/reporter.go:49
Method
ReportSummary
ReportSummary indicates an expected call of ReportSummary
metrics/mocks/reporter.go:56
Method
Reset
()
protos/response.pb.go:29
Method
Reset
()
protos/request.pb.go:55
Method
Reset
()
protos/protodescriptor.pb.go:29
Method
Reset
()
protos/protodescriptor.pb.go:67
Method
Reset
()
protos/protodescriptor.pb.go:105
Method
Reset
()
protos/protodescriptor.pb.go:143
Method
Reset
()
protos/session.pb.go:30
Method
Reset
()
protos/msg.pb.go:61
Method
Reset
()
protos/doc.pb.go:28
Method
Reset
()
protos/error.pb.go:30
Method
Reset
()
protos/kick.pb.go:28
Method
Reset
()
protos/kick.pb.go:66
Method
Reset
()
protos/push.pb.go:30
Method
Reset
()
protos/docmsg.pb.go:28
Method
Reset
()
protos/bind.pb.go:29
Method
Reset
()
protos/test/testrequest.pb.go:28
Method
Reset
()
protos/test/testresponse.pb.go:29
Method
Reset
()
protos/test/somestruct.pb.go:29
Method
Reset
()
benchmark/testdata/test.pb.go:28
Method
Reset
()
benchmark/testdata/test.pb.go:66
Method
Reset
()
worker/worker_test.go:18
Method
Reset
()
examples/demo/protos/cluster.pb.go:29
Method
Reset
()
examples/demo/protos/cluster.pb.go:68
Method
Reset
()
examples/demo/protos/cluster.pb.go:106
Method
Reset
()
examples/demo/worker/protos/response.pb.go:29
Method
Reset
()
examples/demo/worker/protos/arg.pb.go:28
Method
Reset
()
examples/demo/cluster_protobuf/protos/cluster.pb.go:30
Method
Reset
()
examples/demo/cluster_protobuf/protos/cluster.pb.go:77
Method
Reset
()
examples/demo/cluster_protobuf/protos/cluster.pb.go:123
Method
Reset
()
examples/demo/cluster_protobuf/protos/cluster.pb.go:162
Method
Reset
()
examples/demo/cluster_protobuf/protos/cluster.pb.go:208
Method
Reset
()
examples/testing/protos/cluster.pb.go:29
Method
Reset
()
examples/testing/protos/cluster.pb.go:69
Method
ResponseMID
ResponseMID responses message to client, mid is request message ID
session/session.go:224
Method
ResponseMID
ResponseMID mocks base method
session/mocks/session.go:51
Method
ResponseMID
ResponseMID indicates an expected call of ResponseMID
session/mocks/session.go:62
Method
Send
Send not implemented in grpc client
cluster/grpc_rpc_client.go:159
Method
Send
Send mocks base method
cluster/mocks/cluster.go:119
Method
Send
Send indicates an expected call of Send
cluster/mocks/cluster.go:126
Method
SendKick
SendKick sends a kick to an user SendKick 给用户所在的前端服务器发送一个踢人消息
cluster/grpc_rpc_client.go:188
Method
SendKick
SendKick mocks base method
cluster/mocks/cluster.go:143
Method
SendKick
SendKick indicates an expected call of SendKick
cluster/mocks/cluster.go:150
Method
SendNotify
SendNotify sends a notify to the server
client/client.go:387
Method
SendNotify
SendNotify sends a notify to the server
client/protoclient.go:518
Method
SendPush
SendPush sends a message to an user, if you dont know the serverID that the user is connected to, you need to set a BindingStorage when creating the c
cluster/grpc_rpc_client.go:212
Method
SendPush
SendPush mocks base method
cluster/mocks/cluster.go:131
Method
SendPush
SendPush indicates an expected call of SendPush
cluster/mocks/cluster.go:138
Method
SendPushToUser
SendPushToUser sends a push to a user
examples/demo/cluster_grpc/services/connector.go:70
Method
SendRPC
SendRPC sends rpc
examples/demo/cluster_grpc/services/room.go:165
Method
SendRPC
SendRPC sends rpc
examples/demo/cluster_protobuf/services/room.go:112
Method
SendRequest
SendRequest sends a request to the server
client/client.go:382
Method
SendRequest
SendRequest mocks base method
session/mocks/session.go:104
Method
SendRequest
SendRequest indicates an expected call of SendRequest
session/mocks/session.go:112
Method
SendRequest
SendRequest sends a request to a server
agent/agent.go:431
Method
ServeHTTP
Hander接口 处理http请求
acceptor/ws_acceptor.go:84
Method
ServerDiscovery
ServerDiscovery mocks base method
worker/mocks/rpc_job.go:64
Method
ServerDiscovery
ServerDiscovery indicates an expected call of ServerDiscovery
worker/mocks/rpc_job.go:72
Method
ServerDiscovery
ServerDiscovery returns a serverID="", meaning any server is ok
examples/demo/worker/services/worker.go:33
Method
SessionBindRemote
(ctx context.Context, in *BindMsg, opts ...grpc.CallOption)
protos/pitaya.pb.go:70
Method
SessionBindRemote
(context.Context, *BindMsg)
protos/pitaya.pb.go:92
Method
SessionBindRemote
SessionBindRemote mocks base method
protos/mocks/pitaya.go:93
Method
SessionBindRemote
SessionBindRemote indicates an expected call of SessionBindRemote
protos/mocks/pitaya.go:105
Method
SessionBindRemote
SessionBindRemote mocks base method
protos/mocks/pitaya.go:173
Method
SessionBindRemote
SessionBindRemote indicates an expected call of SessionBindRemote
protos/mocks/pitaya.go:181
Method
SetCounter
SetCounter sets custom my_counter
examples/demo/custom_metrics/services/room.go:17
Method
SetDeadline
SetDeadline mocks base method
mocks/net.go:148
Method
SetDeadline
SetDeadline indicates an expected call of SetDeadline
mocks/net.go:155
Method
SetGauge1
SetGauge1 sets custom my_gauge_1
examples/demo/custom_metrics/services/room.go:34
Method
SetGauge2
SetGauge2 sets custom my_gauge_2
examples/demo/custom_metrics/services/room.go:50
Method
SetLogger
SetLogger overwrites worker logger
worker/worker.go:68
Method
SetPitayaServer
SetPitayaServer mocks base method
cluster/mocks/cluster.go:42
Method
SetPitayaServer
SetPitayaServer indicates an expected call of SetPitayaServer
cluster/mocks/cluster.go:47
Method
SetReadDeadline
SetReadDeadline mocks base method
mocks/net.go:160
Method
SetReadDeadline
SetReadDeadline indicates an expected call of SetReadDeadline
mocks/net.go:167
Method
SetSessionData
SetSessionData sets the session data
examples/demo/cluster_grpc/services/connector.go:51
Method
SetSessionData
SetSessionData sets the session data
examples/demo/cluster_grpc/services/room.go:121
Method
SetSessionData
SetSessionData sets the session data
examples/demo/cluster/services/connector.go:52
← previous
next →
1,101–1,200 of 1,948, ranked by callers