mirror of
https://github.com/grafana/grafana.git
synced 2025-02-15 01:53:33 -06:00
14 lines
359 B
Go
14 lines
359 B
Go
|
package pref
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
)
|
||
|
|
||
|
type Service interface {
|
||
|
GetWithDefaults(context.Context, *GetPreferenceWithDefaultsQuery) (*Preference, error)
|
||
|
Get(context.Context, *GetPreferenceQuery) (*Preference, error)
|
||
|
Save(context.Context, *SavePreferenceCommand) error
|
||
|
Patch(ctx context.Context, cmd *PatchPreferenceCommand) error
|
||
|
GetDefaults() *Preference
|
||
|
}
|