Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { RDB *redis.ClusterClient Boards map[int32]*game.GameBoard SessionRequests map[int64]*game.Move SessionResponses map[int64]error Mutex mutex.RWMutex ServerSecret string GameOverMessages []string MaxChannelSize int ResponseIntervalMS int RequestPerWorker int game.UnimplementedGameServiceServer }
func (*Server) StreamGameboard ¶
func (s *Server) StreamGameboard(stream game.GameService_StreamGameboardServer) error
Click to show internal directories.
Click to hide internal directories.