Remove unused methods

This commit is contained in:
Armon Dadgar 2013-12-11 16:43:29 -08:00
parent 03965f0721
commit 4a2230bfc8
1 changed files with 0 additions and 15 deletions

View File

@ -18,11 +18,8 @@ func (s *Server) lanEventHandler() {
case serf.EventMemberJoin:
s.localJoin(e.(serf.MemberEvent))
case serf.EventMemberLeave:
s.localLeave(e.(serf.MemberEvent))
case serf.EventMemberFailed:
s.localFailed(e.(serf.MemberEvent))
case serf.EventUser:
s.localEvent(e.(serf.UserEvent))
default:
s.logger.Printf("[WARN] Unhandled LAN Serf Event: %#v", e)
}
@ -73,18 +70,6 @@ func (s *Server) localJoin(me serf.MemberEvent) {
}
}
// localLeave is used to handle leave events on the lan serf cluster
func (s *Server) localLeave(me serf.MemberEvent) {
}
// localFailed is used to handle fail events on the lan serf cluster
func (s *Server) localFailed(me serf.MemberEvent) {
}
// localEvent is used to handle events on the lan serf cluster
func (s *Server) localEvent(ue serf.UserEvent) {
}
// remoteJoin is used to handle join events on the wan serf cluster
func (s *Server) remoteJoin(me serf.MemberEvent) {
for _, m := range me.Members {