forked from MTSR/mapserver
19 lines
509 B
Go
19 lines
509 B
Go
package settings
|
|
|
|
const (
|
|
SETTING_LAST_MTIME = "last_mtime"
|
|
SETTING_INITIAL_RUN = "initial_run"
|
|
SETTING_LEGACY_PROCESSED = "legacy_processed"
|
|
)
|
|
|
|
type Settings interface {
|
|
GetString(key string, defaultValue string) string
|
|
SetString(key string, value string)
|
|
GetInt(key string, defaultValue int) int
|
|
SetInt(key string, value int)
|
|
GetInt64(key string, defaultValue int64) int64
|
|
SetInt64(key string, value int64)
|
|
GetBool(key string, defaultValue bool) bool
|
|
SetBool(key string, value bool)
|
|
}
|