package
Version:
v2.8.0
Opens a new window with list of versions in this module.
Published: Nov 22, 2023
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Metagame server
LogRemote logs argument when called
RPCJob implements worker.RPCJob
GetArgReply returns reply and arg of LogRemote,
since we have no other methods in this example
ServerDiscovery returns a serverID="", meaning any server
is ok
Room server
func NewRoom(app pitaya.Pitaya) *Room
NewRoom ctor
CallLog makes ReliableRPC to metagame LogRemote
Worker server
func (w *Worker) Configure(app pitaya.Pitaya)
Configure starts workers and register rpc job
Source Files
¶
Click to show internal directories.
Click to hide internal directories.