https://github.com/fajrulaulia/peuthe-socket
Broadcast for all client connected this service when triggered by rest handler.
https://github.com/fajrulaulia/peuthe-socket
backend golang web-socket
Last synced: about 2 months ago
JSON representation
Broadcast for all client connected this service when triggered by rest handler.
- Host: GitHub
- URL: https://github.com/fajrulaulia/peuthe-socket
- Owner: fajrulaulia
- Created: 2020-06-05T02:20:53.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-26T09:32:38.000Z (over 5 years ago)
- Last Synced: 2025-03-12T15:35:13.527Z (over 1 year ago)
- Topics: backend, golang, web-socket
- Language: Go
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Peuthe Socket
Peuthe(in acheh language is same with neuputhe, ex : "Neu puthe sigam nyan bek lhe tat peugah broh putoh" is meaning "Tell someone"), Peuthe Socket is a Websocket written by golang
This socket will "tell" all client connected with Peuthe if handler triggered by another user.
## How it work??
When you send payload, peuthe socket will send for all client who connected with peuthe socket.
## How to run
- make sure you have a client for connected with peuthe socket (connect to `ws://localhost:8084/ws`).
- send payload using http handler, you can check file `send.sh` how to using handler with data.
# Contributor
- Fajrul Aulia