Skip to content

veryspry/go-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Websocket messenger server written in Go

This is a room based messenger server with message persistance.

All websocket connections are handled by one endpoint ws/{roomID}. There are three main vehicles to handle "room" separation: Hub, Room, and Client. Hub is the top level room mananger. It holds all of the open rooms and manages room creation and deletion. Room holds information about each reoom inculding a list of Clients. Clients are one "entity" in a room. This includes their *websocket.Conn and their uniqueID.

Authentication for HTTPS connections is handled by JWT bearer token headers. And the websocket authentication will be handled by a ticketing system.

About

Websocket Chat App Server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages