1package repository
2
3import "context"
4
5type (
6 Settings struct {
7 ShowMode bool
8 ShowOwner bool
9 PreloadVideoMetadata bool
10 }
11
12 SettingsRepository interface {
13 Save(context.Context, *Settings) error
14 Load(context.Context) (*Settings, error)
15 }
16)