go-websocket

command module
v0.0.0-...-e86793e Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2024 License: MIT Imports: 4 Imported by: 0

README

Go WebSocket Server

This is a WebSocket project written in Go using the Gorilla package, enabling real-time communication between a server and multiple clients.

Key Features

  • Real-time bidirectional communication.
  • Support for multiple simultaneous clients.
  • Connection and message management.

Prerequisites

Installation

https://github.com/joaofilippe/go-websocket.git
cd go-webscoket
go mod tidy

Usage

To start the WebSocket server, run:

go run main.go

You can use a WebSocket client, such as websocat, or Postman to test the connection.

Project Structure

.
├── models
│   └── message.go
├── codealike.json
├── go.mod
├── go.sum
└── main.go

Contributing

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/MyFeature).
  3. Commit your changes (git commit -m 'Add new feature').
  4. Push to the branch (git push origin feature/MyFeature).
  5. Open a Pull Request.

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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