Update README.md

This commit is contained in:
Dean Eigenmann
2019-10-25 13:32:43 +02:00
committed by GitHub
parent f0cc0e7841
commit 217a49bd54

View File

@@ -12,6 +12,17 @@ Experimental implementation of the [minimal viable data sync protocol specificat
## Usage
Listening to MVDS messages is fairly simple:
```go
sub := node.Subscribe()
for {
msg := <-sub
print(msg)
}
```
### Prerequisites
Ensure you have `protoc` (Protobuf) and Golang installed. Then run `make`.