Skip to content

surasithaof/websocket-go

Repository files navigation

websocket-go

WebSocket using Go, Gin framework and Gorilla WebSocket

  • Create websocket server and handle connecting clients
  • Unit test
  • Client for E2E test
  • Docker support
  • PingPong health check
  • Example chat app
  • Scale up with multiple pods (use Redis as a share memory?)

Setup

Justfile for running command

brew install just

Set up .env file

Create .env file and set up environment variables (you can copy from .env.example)

Create and migrate database

You can start postgresql database by run this command docker-compose up, And do the migration by run just db-migrate

Start service 🚀

just run

About

WebSocket using Golang and Gin framework for PoC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published