Socket
Book a DemoInstallSign in
Socket

github.com/SirGFM/go-chat-i-guess

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/SirGFM/go-chat-i-guess

Source
Go
Version
v0.0.0-20210911185633-39bf8bd296c5
Version published
Created
Source

Go chat, I guess?

A generic, connection-agnostic chat server.

The server support multiple channels/chat rooms, to which users may connect. Both the channel and users must be uniquely identified by their name, although the calling application is responsible by authenticating if those are valid values.

Prerequisites

  • Go 1.15 (this package hasn't been made in a module, so more recent versions probably won't work)

Documentation

The documentation may be generated using godoc:

go get golang.org/x/tools/cmd/godoc
godoc .

Example chat

To build a simple WebSocket-based example chat:

go get github.com/gorilla/websocket
go build ./cmd/chat-server
./chat-server

Then, simply open http://localhost:8888 in a browser.

FAQs

Package last updated on 11 Sep 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts