Data Sync client
Go to file
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
client feature/payloads (#7) 2019-08-07 14:31:32 +02:00
crypto feature/payloads (#7) 2019-08-07 14:31:32 +02:00
event feature/payloads (#7) 2019-08-07 14:31:32 +02:00
protobuf enhancement/signature-verification (#6) 2019-08-05 17:19:01 +02:00
vendor feature/payloads (#7) 2019-08-07 14:31:32 +02:00
.gitignore Initial commit 2019-07-03 18:10:56 -04:00
.travis.yml travis 2019-08-07 14:22:17 +02:00
LICENSE updated 2019-07-03 18:14:17 -04:00
Makefile feature/payloads (#7) 2019-08-07 14:31:32 +02:00
README.md feature/payloads (#7) 2019-08-07 14:31:32 +02:00
go.mod feature/payloads (#7) 2019-08-07 14:31:32 +02:00
go.sum feature/payloads (#7) 2019-08-07 14:31:32 +02:00

README.md

DaSy 🌼

Version License API Reference Go Report Card Build Status

/ˈ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)
}