func WithPanicHandler(ph func(w http.ResponseWriter, r *http.Request, err interface{})) Option {
	return func(s *server) {
		s.router.PanicHandler = ph
	}
}
// WithPanicHandler sets the server's panic handler.
WithPanicHandler sets the server's panic handler.
// WithPanicHandler sets the server ' s panic handler .
func WithPanicHandler(ph func(w http.ResponseWriter, r *http.Request, err interface{})) Option {
	return func(s *server) {
		s.router.PanicHandler = ph
	}
}
func WithPanicHandler ( ph func ( w http . ResponseWriter , r * http . Request , err interface { } ) ) Option { return func ( s * server ) { s . router . PanicHandler = ph } }
WithPanicHandler sets the server's panic handler.
WithPanicHandler sets the server ' s panic handler .