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 {
|
2020-01-10 05:33:01 +01:00
|
|
|
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)
|
|
|
|
}
|