grpc-chat

command module
v0.0.0-...-3dc53fb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

README

grpc-chat

simple chat client and server using grpc streams

Run

First things first:

$ go get -u -v github.com/colonelmo/grpc-chat
$ cd $GOPATH/github.com/colonelmo/grpc-chat
$ cp config.local.example config.local

You may want to edit config.local file.

If you want to keep using the default self signed certificates, you have to set an entry in /etc/hosts to make localhost.com point at 127.0.0.1. No tls support yet, so you can safely ignore this

Then

$ source config.local
$ make build

To run the server:

./chat serve 127.0.0.1:4444

You can then run a bunch of clients:

./chat connect 127.0.0.1:4444 client_nick_name

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL