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 (
|
2021-06-23 22:47:32 +02:00
|
|
|
// 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)
|
2021-06-19 00:27:15 +02:00
|
|
|
Delete(id string) error
|
2016-03-02 15:07:24 +01:00
|
|
|
DefaultGet(id string, defaultValue string) (string, error)
|
|
|
|
}
|