grafana/pkg/services/star/star.go

14 lines
363 B
Go
Raw Normal View History

package star
import (
"context"
)
type Service interface {
Add(context.Context, *StarDashboardCommand) error
Delete(context.Context, *UnstarDashboardCommand) error
DeleteByUser(context.Context, int64) error
IsStarredByUser(context.Context, *IsStarredByUserQuery) (bool, error)
GetByUser(context.Context, *GetUserStarsQuery) (*GetUserStarsResult, error)
}