// delServer implement delete the proxy server
delServer implement delete the proxy server
// delServer implement delete the proxy server
func delServer(svcName string) {
	st := addrByService.getAddrTable(svcName)
	if st == nil {
		return
	}
	unused = append(unused, st.ip)
	for _, ln := range st.lns {
		fd := getAndSetSocket(ln, true)
		epoll.EpollCtrlDel(fd)
		ln.Close()
	}
	addrByService.delAddrTable(svcName)
}
func delServer ( svcName string ) { st := addrByService . getAddrTable ( svcName ) if st == nil { return } unused = append ( unused , st . ip ) for _ , ln := range st . lns { fd := getAndSetSocket ( ln , true ) epoll . EpollCtrlDel ( fd ) ln . Close ( ) } addrByService . delAddrTable ( svcName ) }
delServer implement delete the proxy server
delServer implement delete the proxy server