Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetRepository ¶
func SetRepository(rep Repository)
Types ¶
type DashboardRepository ¶
type DashboardRepository struct{}
func (*DashboardRepository) SaveDashboard ¶
func (dr *DashboardRepository) SaveDashboard(json *SaveDashboardItem) (*models.Dashboard, error)
type Repository ¶
type Repository interface {
SaveDashboard(*SaveDashboardItem) (*models.Dashboard, error)
}
func GetRepository ¶
func GetRepository() Repository
Click to show internal directories.
Click to hide internal directories.