Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface {
GetAllDashboards(context.Context, types.GetAllDashboardsRequest) (types.DashboardInfosWithOwner, error)
GetMyDashboards(context.Context, types.GetUserDashboardsRequest) (types.DashboardInfos, error)
GetDashboardByUUID(context.Context, string) (types.Dashboard, error)
CreateDashboard(context.Context, types.CreateDashboardRequest) (string, error)
UpdateDashboard(context.Context, types.UpdateDashboardRequest) error
DeleteDashboard(context.Context, types.DeleteDashboardRequest) error
SearchDashboards(context.Context, types.SearchDashboardsRequest) (types.DashboardInfosWithOwner, error)
}
func New ¶
func New(repo repository.Dashboards) Service
Click to show internal directories.
Click to hide internal directories.