Files
dasy/README.md
Dean Eigenmann ae2fb13f53 feature/payloads (#7)
* 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
2019-08-07 14:31:32 +02:00

33 lines
997 B
Markdown
Raw 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 [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)
}
```