Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (14 sloc) 223 Bytes
package bully
// Message Types.
const (
ELECTION = iota
OK
COORDINATOR
CLOSE
)
// Message is a `struct` used for communication between `bully.Bully`s.
type Message struct {
PeerID string
Addr string
Type int
}
You can’t perform that action at this time.