quintodrome/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-14 18:22:34 -09:00
package model
2016-03-02 05:07:24 -09:00
2016-03-24 19:31:54 -08:00
const (
// TODO Move other prop keys to here
2016-03-24 19:31:54 -08:00
PropLastScan = "LastScan"
)
2016-03-02 05:07:24 -09:00
type PropertyRepository interface {
Put(id string, value string) error
Get(id string) (string, error)
Delete(id string) error
2016-03-02 05:07:24 -09:00
DefaultGet(id string, defaultValue string) (string, error)
}