package serverimp func (i *Imp) closeClients() { if i.discoveryClients != nil { i.discoveryClients.Close() i.discoveryClients = nil } }