func NewGetPeerSections(ctx *middleware.Context, handler GetPeerSectionsHandler) *GetPeerSections {
	return &GetPeerSections{Context: ctx, Handler: handler}
}
NewGetPeerSections creates a new http.Handler for the get peer sections operation
package peer
import (
	"net/http"
	"github.com/go-openapi/errors"
	"github.com/go-openapi/runtime/middleware"
	"github.com/go-openapi/strfmt"
	"github.com/go-openapi/swag"
	"github.com/go-openapi/validate"
	"github.com/haproxytech/client-native/v2/models"
)
type GetPeerSectionsHandlerFunc func(GetPeerSectionsParams, interface{}) middleware.Responder
func (fn GetPeerSectionsHandlerFunc) Handle(params GetPeerSectionsParams, principal interface{}) middleware.Responder {
	return fn(params, principal)
}
type GetPeerSectionsHandler interface {
	Handle(GetPeerSectionsParams, interface{}) middleware.Responder
}