An open API service indexing awesome lists of open source software.

https://github.com/itsankoff/gotcha

Golang chat server and client 💬
https://github.com/itsankoff/gotcha

chat client go golang gotcha server

Last synced: 5 months ago
JSON representation

Golang chat server and client 💬

Awesome Lists containing this project

README

          

# gotcha

Chat server and client library and ready applications written in Golang.
* [Intro](#intro)
* [Install](#install)
* [Usage](#usage)
* [License](#license)

---

## Intro

This repository provides both library which you can integrate in your project and ready Golang server and client.

## Install

```
go get github.com/itsankoff/gotcha/cmd/server
go get github.com/itsankoff/gotcha/cmd/client
```

## Usage

**1. Simple usage of client and server applications**
```
/path/to/your/workspace/bin/server
/path/to/your/workspace/bin/client
```

**2. More sophisticated usage**
```
/path/to/your/workspace/bin/server --host= --key_path= --cert_path=
/path/to/your/workspace/bin/client --host=
```

**3. For full information about all possible options for both client and server run**
```
/path/to/your/workspace/bin/server --help
/path/to/your/workspace/bin/client --help
```

**4. For library API reference check the documentation and
[client examples files](https://github.com/itsankoff/gotcha/blob/master/client/client_test.go) and
[server examples files](https://github.com/itsankoff/gotcha/blob/master/server/server_test.go)**

## License
[MIT License](https://github.com/itsankoff/gotcha/blob/master/LICENSE)