An example chat server in golang.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

29 lignes
383 B

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