Tiny IRC-like chat server written in Go
Go to file
raul c85fa5b031 Fixed catastrophic memory leak in client
Whenever a server would be stopped while the clients were connected to
it, the for loop handling the messages received by the server would
start a feedback loop as no more data could be read from "conn", thus
spawning an infinite number of byte arrays and crashing my laptop
2024-04-14 09:27:17 +02:00
.gitea/workflows Add go-audit workflow and goreleaser config 2024-04-01 12:23:29 +02:00
cmd Fixed catastrophic memory leak in client 2024-04-14 09:27:17 +02:00
.gitignore Add go-audit workflow and goreleaser config 2024-04-01 12:23:29 +02:00
.goreleaser.yaml Add go-audit workflow and goreleaser config 2024-04-01 12:23:29 +02:00
LICENSE Initial commit 2024-03-29 08:59:03 +01:00
README.md Fix README.md titles 2024-04-01 12:57:57 +02:00
go.mod Update dependencies 2024-04-13 13:08:02 +02:00
go.sum Update dependencies 2024-04-12 08:55:59 +02:00
main.go Finish chat functionality and prepare for release 2024-04-01 12:28:22 +02:00

README.md

mini-chat

Tiny IRC-like chat server built for compatibility with netcat and written in Go

Usage

Starting the server

./mini-chat server --port 1337

Connecting to the server

nc $SERVER_IP $SERVER_PORT