Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
//Contact defines required functions for communicating with the server
type Contact interface {
Communicate(address string, sleep int, beacon Beacon)
//CommunicationChannels contains the contact implementations
var CommunicationChannels = map[string]Contact{}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment