mirror of
https://github.com/grafana/grafana.git
synced 2025-02-14 09:33:34 -06:00
13 lines
353 B
Go
13 lines
353 B
Go
package star
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
type Service interface {
|
|
Add(ctx context.Context, cmd *StarDashboardCommand) error
|
|
Delete(ctx context.Context, cmd *UnstarDashboardCommand) error
|
|
IsStarredByUser(ctx context.Context, query *IsStarredByUserQuery) (bool, error)
|
|
GetByUser(ctx context.Context, cmd *GetUserStarsQuery) (*GetUserStarsResult, error)
|
|
}
|