func (s *Server) ListenAndServe(network, addr string) error {
	var lc net.ListenConfig
	l, err := lc.Listen(s.context(), network, addr)
	if err != nil {
		return err
	}
	return s.Serve(l)
}
// ListenAndServe is used to create a listener and serve on it
ListenAndServe is used to create a listener and serve on it
// ListenAndServe is used to create a listener and serve on it
func (s *Server) ListenAndServe(network, addr string) error {
	var lc net.ListenConfig
	l, err := lc.Listen(s.context(), network, addr)
	if err != nil {
		return err
	}
	return s.Serve(l)
}
func ( s * Server ) ListenAndServe ( network , addr string ) error { var lc net . ListenConfig l , err := lc . Listen ( s . context ( ) , network , addr ) if err != nil { return err } return s . Serve ( l ) }
ListenAndServe is used to create a listener and serve on it
ListenAndServe is used to create a listener and serve on it