An example chat server in golang.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
383 B

преди 6 години
# chat.go
Rudimentary go chat server as a fun project.
# Install
```bash
git clone https://git.coolaj86.com/coolaj86/chat.go.git
преди 6 години
go get gopkg.in/yaml.v2
```
# Usage
преди 6 години
**Start the server**
```bash
преди 6 години
go run chatserver.go -conf ./config.yml
```
преди 6 години
See sample config file at `config.sample.yml`.
**Connect clients**
You can connect multiple clients.
```bash
telnet localhost 4080
```