func WithDefaultMiddleware(mw []Middleware) Option {
	return func(s *server) {
		s.mw = append(s.mw, mw...)
	}
}
// WithDefaultMiddleware adds middleware to every endpoint registered with the server.
WithDefaultMiddleware adds middleware to every endpoint registered with the server.
// WithDefaultMiddleware adds middleware to every endpoint registered with the server .
func WithDefaultMiddleware(mw []Middleware) Option {
	return func(s *server) {
		s.mw = append(s.mw, mw...)
	}
}
func WithDefaultMiddleware ( mw [ ] Middleware ) Option { return func ( s * server ) { s . mw = append ( s . mw , mw ... ) } }
WithDefaultMiddleware adds middleware to every endpoint registered with the server.
WithDefaultMiddleware adds middleware to every endpoint registered with the server .