navidrome/model/properties.go

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
282 B
Go
Raw Normal View History

2020-01-15 04:22:34 +01:00
package model
2016-03-02 15:07:24 +01:00
2016-03-25 04:31:54 +01:00
const (
// TODO Move other prop keys to here
2016-03-25 04:31:54 +01:00
PropLastScan = "LastScan"
)
2016-03-02 15:07:24 +01:00
type PropertyRepository interface {
Put(id string, value string) error
Get(id string) (string, error)
Delete(id string) error
2016-03-02 15:07:24 +01:00
DefaultGet(id string, defaultValue string) (string, error)
}