Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UDPServerAPI ¶
type UDPServerAPI struct {
// contains filtered or unexported fields
}
UDPServerAPI used to communicate with game client
func NewServerConnection ¶
func NewServerConnection(port string, jMazeMap []byte) (s *UDPServerAPI, err error)
NewServerConnection create new tcp server api
func (*UDPServerAPI) Handle ¶
func (s *UDPServerAPI) Handle(gm *manager.GameManager) (isClosed bool, handleErr error)
Handle TCP requests from clients
Click to show internal directories.
Click to hide internal directories.