parabolahq / vertex

Blazingly fast web–socket pool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vertex

Message Queue pool for websocket messaging

Getting Started

git clone https://github.com/parabolahq/vertex

Prerequisites

Usage

  1. Setup environment variables, or config via file
  2. Sync dependencies
    go mod download && go mod verify
  3. Build executable
    go build main.go
  4. Run executable
    ./main

Communication with service

Errors

Int Error Code Description Fix recommendations
0 Internal error occurred Contact Backend Dev
1 Token invalid or not presented Check if token is sent in Authorization header and obtained with correct way
2 Parse of json failed Check if websocket request is encoded to JSON correctly and
3 Error occurred in sending message to MQ _Check if Message Queue is correctly configured

Deployment

Branches

  • Master: Main version of Vertex

About

Blazingly fast web–socket pool


Languages

Language:Go 98.5%Language:Dockerfile 1.5%