chaton

module
v0.0.0-...-b91a5ac Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2022 License: MIT

README

Chaton

Simple chat service using gRPC.

The service

The gRPC service is described in ./proto/chaton.proto.

To generate the Go gRPC code use the command go generate.

The server

It's implemented in Go and can be build and executed with the Makefile.

Configuration

The defaults address and port the server listen is 0.0.0.0:21617.
It can be configures with environement variable HOST and PORT.

You can use the .env file (to complete with the .env.tpl) for docker usage.

Clients

There is multiple clients in the ./clients/ directory.

The go cli client

You can run the go cli client with make go-cli-client-run.

You also can build the client with make go-cli-client-build. It will build the binary in the ./bin/ directory.

This client is configured using flags, run it with the -h flag to know them.

Directories

Path Synopsis
clients
grpc

Jump to

Keyboard shortcuts

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