func NewGetStats(ctx *middleware.Context, handler GetStatsHandler) *GetStats {
	return &GetStats{Context: ctx, Handler: handler}
}
NewGetStats creates a new http.Handler for the get stats operation
package stats
import (
	"net/http"
	"github.com/go-openapi/runtime/middleware"
)
type GetStatsHandlerFunc func(GetStatsParams, interface{}) middleware.Responder
func (fn GetStatsHandlerFunc) Handle(params GetStatsParams, principal interface{}) middleware.Responder {
	return fn(params, principal)
}
type GetStatsHandler interface {
	Handle(GetStatsParams, interface{}) middleware.Responder
}