dasy/README.md

33 lines
997 B
Markdown
Raw Normal View History

2019-07-03 22:16:32 +00:00
# DaSy 🌼
2019-07-03 22:11:48 +00:00
2019-07-25 20:26:52 +00:00
![Version](https://img.shields.io/github/tag/vacp2p/dasy.svg)
[![License](https://img.shields.io/github/license/vacp2p/dasy.svg)](LICENSE)
2019-07-03 22:19:14 +00:00
[![API Reference](
https://camo.githubusercontent.com/915b7be44ada53c290eb157634330494ebe3e30a/68747470733a2f2f676f646f632e6f72672f6769746875622e636f6d2f676f6c616e672f6764646f3f7374617475732e737667
2019-08-07 12:28:17 +00:00
)](https://godoc.org/github.com/vacp2p/dasy)
[![Go Report Card](https://goreportcard.com/badge/github.com/vacp2p/dasy)](https://goreportcard.com/report/github.com/vacp2p/dasy)
[![Build Status](https://travis-ci.com/vacp2p/dasy.svg?branch=master)](https://travis-ci.com/vacp2p/dasy)
2019-07-03 22:19:14 +00:00
2019-07-03 23:53:29 +00:00
> /ˈdeɪzi/
>
2019-07-03 22:12:09 +00:00
> **Da**ta **Sy**nc Client
2019-07-25 20:26:52 +00:00
This repository implements a basic [data sync client](#TODO) that operates on top of [mvds](https://github.com/vacp2p/mvds).
## Usage
Listening to messages
```go
postchan := make(chan event.Payload)
client.Feed(protobuf.Message_POST).Subscribe(postchan)
for {
post := <-postchan
fmt.Printf("%+v\n", post)
}
```