sgame

package
v0.0.0-...-ec8f069 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2023 License: MIT Imports: 8 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL