package dashboard

import (
	srvv1 "github.com/pingcap-inc/pinsights/internal/apiserver/service/v1"
	"github.com/pingcap-inc/pinsights/internal/apiserver/store"
)

type DashboardController struct {
	srv srvv1.Service
}

func NewDashboardController(store store.Factory) *DashboardController {
	return &DashboardController{
		srv: srvv1.NewService(store),
	}
}
