package main import ( "fmt" "sync" "time" ) type Master struct { slaves []*Slave shutdown bool mu sync.Mutex } type Slave struct { ID string Alive bool } func (m *Master) checkSlaveHealth(slave *Slave) {...
Markdown supported · ⌘↵ to post
No responses yet.