Categorygithub.com/DhruvikDonga/simplysocket
modulepackage
0.1.0
Repository: https://github.com/dhruvikdonga/simplysocket.git
Documentation: pkg.go.dev

# README

SimplySocket

SimplySocket is a Golang package designed for pushing messages to clients and managing rooms and events. This package is a part of the Words Battle game project.

Introduction

SimplySocket is built for real-time communication with clients, efficiently managing message broadcasting, room creation, and event handling. It's designed to scale well for multiplayer games and similar applications that require synchronized messaging across clients.

Features

  • Message Broadcasting: Efficiently push messages to multiple clients.
  • Room Management: Create, delete, and manage rooms for organized communication.
  • Event Handling: Trigger and handle various events seamlessly.

Project Architecture

check the Project Architecure file.

Contributing

We welcome contributions! Please feel free to submit issues, pull requests, or suggestions.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Documentation

For more detailed information, check the Documentation file.

# Functions

NewMeshServer initialize new websocket server.
No description provided by the author
ServeWs handles websocket requests from clients requests.

# Constants

MeshGlobalRoom is a room where a client gets joined when he connects to a websocket .

# Structs

No description provided by the author
Message struct is the structure of the message which is send in mesh server.

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author