dashboards

package
v5.0.0-beta1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

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

type SaveDashboardItem

type SaveDashboardItem struct {
	OrgId     int64
	UpdatedAt time.Time
	UserId    int64
	Message   string
	Overwrite bool
	Dashboard *models.Dashboard
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL