navidrome/model/properties.go

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

16 lines
273 B
Go
Raw Normal View History

2020-01-14 22:22:34 -05:00
package model
2016-03-02 09:07:24 -05:00
2016-03-24 23:31:54 -04:00
const (
PropLastScan = "LastScan"
)
2016-03-02 09:07:24 -05:00
type Property struct {
ID string
2016-03-02 09:07:24 -05:00
Value string
}
type PropertyRepository interface {
Put(id string, value string) error
Get(id string) (string, error)
DefaultGet(id string, defaultValue string) (string, error)
}