func (s *Server) Close() error {
	s.closer.Close()
	s.reg.Close()
	return s.srv.Close()
}
// Close closes listening socket and stops accepting connections
Close closes listening socket and stops accepting connections
// Close closes listening socket and stops accepting connections
func (s *Server) Close() error {
	s.closer.Close()
	s.reg.Close()
	return s.srv.Close()
}
func ( s * Server ) Close ( ) error { s . closer . Close ( ) s . reg . Close ( ) return s . srv . Close ( ) }
Close closes listening socket and stops accepting connections
Close closes listening socket and stops accepting connections