navidrome/model/properties.go

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

17 lines
273 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 (
PropLastScan = "LastScan"
)
2016-03-02 15:07:24 +01:00
type Property struct {
ID string
2016-03-02 15:07:24 +01:00
Value string
}
type PropertyRepository interface {
Put(id string, value string) error
Get(id string) (string, error)
DefaultGet(id string, defaultValue string) (string, error)
}