func (s Service) Middleware(next http.HandlerFunc) http.HandlerFunc {
	middlewares.Use(
		middlewares.NewIPSpoofing(),
		middlewares.NewPathTraversal(),
		middlewares.NewRemoteReferer([]string{
			http.MethodDelete,
			http.MethodGet,
			http.MethodPatch,
			http.MethodPost,
			http.MethodPut,
		}),
		middlewares.NewXSS("block", true),
	)

	return middlewares.Handle(next)
}
// Middleware defines the middleware stack that requests to this service will run through
Middleware defines the middleware stack that requests to this service will run through
// Middleware defines the middleware stack that requests to this service will run through
func (s Service) Middleware(next http.HandlerFunc) http.HandlerFunc {
	middlewares.Use(
		middlewares.NewIPSpoofing(),
		middlewares.NewPathTraversal(),
		middlewares.NewRemoteReferer([]string{
			http.MethodDelete,
			http.MethodGet,
			http.MethodPatch,
			http.MethodPost,
			http.MethodPut,
		}),
		middlewares.NewXSS("block", true),
	)
	return middlewares.Handle(next)
}
func ( s Service ) Middleware ( next http . HandlerFunc ) http . HandlerFunc { middlewares . Use ( middlewares . NewIPSpoofing ( ) , middlewares . NewPathTraversal ( ) , middlewares . NewRemoteReferer ( [ ] string { http . MethodDelete , http . MethodGet , http . MethodPatch , http . MethodPost , http . MethodPut , } ) , middlewares . NewXSS ( " " , true ) , ) return middlewares . Handle ( next ) }
Middleware defines the middleware stack that requests to this service will run through
Middleware defines the middleware stack that requests to this service will run through