dmfutcher / clacks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

clacks

This is not a place of honour. There is no value to be found here. This is enirely built to shake off some rust with Golang and play with some libraries. Available here on the miniscule chance someone finds any of this useful.

clacks is a simulation of a very simple message relaying network. Relaying 'Stations' are vertices on a graph, with edges between them representing some 'connection' media. Messages are published by Stations, who pass them on to adjacent stations, who in turn relay them on to their adjacent stations.

Uses selimyoussry/graphgo for the network grapg, ØMQ for message transport and Protobuf for message serialisation. And zealws/golang-ring too.

Run it

brew install zeromq protobuf
protoc --go_out=. message.proto
go run main.go

About


Languages

Language:Go 100.0%