dasy/README.md

33 lines
1007 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# DaSy 🌼
![Version](https://img.shields.io/github/tag/vacp2p/dasy.svg)
[![License](https://img.shields.io/github/license/vacp2p/dasy.svg)](LICENSE)
[![API Reference](
https://camo.githubusercontent.com/915b7be44ada53c290eb157634330494ebe3e30a/68747470733a2f2f676f646f632e6f72672f6769746875622e636f6d2f676f6c616e672f6764646f3f7374617475732e737667
)](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)
> /ˈdeɪzi/
>
> **Da**ta **Sy**nc Client
This repository implements a basic [messaging 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)
}
```