mirror of https://github.com/vacp2p/dasy.git
ae2fb13f53
* started working on payload concept * added crypto * moved into new package, added feed * added nicer feed stuff * minor readme for now * subscribe implemented badly * doc * doc block * cleaned up a little * making a mutex * mock, empty test * test wrapper * started playing around * updated mock * formatted * updated * updated interface * updated * updated * updated mock, rewrote test stuff * todos * added tests * reuse * dont need var |
||
---|---|---|
client | ||
crypto | ||
event | ||
protobuf | ||
vendor | ||
.gitignore | ||
.travis.yml | ||
LICENSE | ||
Makefile | ||
README.md | ||
go.mod | ||
go.sum |
README.md
DaSy 🌼
/ˈdeɪzi/
Data Sync Client
This repository implements a basic data sync client that operates on top of mvds.
Usage
Listening to messages
postchan := make(chan event.Payload)
client.Feed(protobuf.Message_POST).Subscribe(postchan)
for {
post := <-postchan
fmt.Printf("%+v\n", post)
}