Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 684 Bytes

README.md

File metadata and controls

31 lines (23 loc) · 684 Bytes

socket-chat

This is a small chat app using web sockets to learn Go.

Getting started

Installation

First build the project by running

go build .

Running a server

To start handling chat clients, we need a running server. Start it up by running

./socket-chat server [--hostname] [--port]

By default, server is running on localhost, port 3000

Running a client

Once a server is running, a separate clients can be attached by running:

./socket-chat client [--hostname] [--port]

Default settings are also localhost and port 3000

Happy chatting!

License

MIT