An example chat server in golang.
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

29 líneas
383 B

hace 6 años
# 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
hace 6 años
**Start the server**
```bash
hace 6 años
go run chatserver.go -conf ./config.yml
```
hace 6 años
See sample config file at `config.sample.yml`.
**Connect clients**
You can connect multiple clients.
```bash
telnet localhost 4080
```