2016-03-08 18:40:16 -05:00
|
|
|
package engine
|
2016-03-02 09:07:24 -05:00
|
|
|
|
|
|
|
|
type Property struct {
|
|
|
|
|
Id string
|
|
|
|
|
Value string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type PropertyRepository interface {
|
|
|
|
|
Put(id string, value string) error
|
|
|
|
|
Get(id string) (string, error)
|
|
|
|
|
DefaultGet(id string, defaultValue string) (string, error)
|
|
|
|
|
}
|