Laplace-Entangled-Environment

module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2021 License: MIT

README

Laplace-Entangled-Environment

An out of the box backend service for games to create a client-based multiplayer game. Write the code once then spread it to other players without much knowledge of networking.

Setting Up The Project

  • Install GO
  • Install Redis

Setting Up Node Layer

The application will support running of different binaries to communicate with. This will represent the server code of a game. The current example in use is a NodeJS module.

  • Install NodeJS
  • cd node-layer
  • npm install
  • cd ..

Setting Up Configurables

  • Create a TLS certificate in this directory openssl req -new -newkey rsa:4096 -x509 -sha256 -days 365 -nodes -out tlscert.crt -keyout tlskey.key

Running the Project

go run ./cmd/main.go will run the application

Testing the Project

This will run all tests associated with the application in the present working directory

  • For Windows: go test ./... -v -args -cwd="%cd%"
  • For Linux/OSX: go test ./... -v -args -cwd="$PWD"

Documentation

Refreshing Documentation for Project
  • For Windows: gendoc.bat
  • For Linux/OSX: gendoc.sh
pkg.go.dev

Laplace-Entangled-Environment

Directories

Path Synopsis
Laplace-Entanglement-Environment Application Package.
Laplace-Entanglement-Environment Application Package.
internal
event
The Event module represents the possible tasks a command can submit to be done outside of the request response loop.
The Event module represents the possible tasks a command can submit to be done outside of the request response loop.
policy
Policy is the type definitions and decoupling pattern for route and data.
Policy is the type definitions and decoupling pattern for route and data.
route
Route Represents the routing and listening to connections.
Route Represents the routing and listening to connections.
schedule
The schedule package takes care of any "scheduled tasks".
The schedule package takes care of any "scheduled tasks".
util
The util package represents common utility functions with no project references.
The util package represents common utility functions with no project references.
zeromq
The ZeroMQ module is the holder and initializer for the third-party ZeroMQ Library.
The ZeroMQ module is the holder and initializer for the third-party ZeroMQ Library.

Jump to

Keyboard shortcuts

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