https://github.com/yyyar/gossock
gossock: Go implementation of nossock (http://github.com/yyyar/nossock)
https://github.com/yyyar/gossock
Last synced: 2 days ago
JSON representation
gossock: Go implementation of nossock (http://github.com/yyyar/nossock)
- Host: GitHub
- URL: https://github.com/yyyar/gossock
- Owner: yyyar
- License: other
- Created: 2018-01-22T05:54:33.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-01-29T08:20:49.000Z (over 5 years ago)
- Last Synced: 2025-08-15T06:19:41.641Z (about 2 months ago)
- Language: Go
- Homepage:
- Size: 9.77 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Gossock
[](https://travis-ci.org/yyyar/gossock)
[](http://godoc.org/github.com/yyyar/gossock)Gossock is a small lib for developing lightweight protocols on top of TCP & TLS.
It is an implementation of [Nossock](https://githun.com/yyyar/nossock) in Go.
* **Fast:** serializes messages to JSON, and raw []byte messages
* **Handy interface:** use your structs in simple callback-style handlers
* **TCP and TLS**: easy configurable#### Installation
```bash
$ go get github.com/yyyar/gossock
```#### Usage
TODO#### Tests
```bash
$ go test -v
```#### Restrictions
Due to message structure, message body size is limited to `4096 Mb`. No idea why
you'll want to send such a big message, in any case it worth to split it to
lots of smaller parts.#### Author
* [Yaroslav Pogrebnyak](https://github.com/yyyar/)#### License
MIT