Skip to content

yossev/go-websocket-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go WebSocket Project Documentation

Table of Contents

  1. Project Overview
  2. Installation Instructions
  3. Usage
  4. API Endpoints
  5. Dependencies
  6. Example
  7. Todo

This project is a WebSocket server written in Go. It allows real-time communication between clients and the server.

Prerequisites

  • Go version 1.16 or higher
  • Git

Steps

  1. Clone the Repository

    git clone https://github.com/yossev/go-websocket-chat.git
    cd go-websocket-chat
  2. Install Dependencies

    go mod tidy
  3. Run the Server

```sh
go run main.go
```

1 - Run the server.go file.
2 - Run the HTML File using any live preview extension, example

Coming Soon!

Websocket Endpoint

  • Enpoint '/chat'
  • Method GET
  • Description: Establishes a WebSocket connection with the server.
Paintapp.2024.07.19.-.21.39.11.01.mp4
  • Add Mutlimedia sharing
  • Publish on a Domain

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published