aboutsummaryrefslogtreecommitdiff
path: root/pkg/database/repository/settings.go
blob: c3d8fbb94e4c82a841e151d158dd5b0ea5172e5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package repository

import "context"

type (
	Settings struct {
		ShowMode             bool
		ShowOwner            bool
		PreloadVideoMetadata bool
	}

	SettingsRepository interface {
		Save(context.Context, *Settings) error
		Load(context.Context) (*Settings, error)
	}
)