1
0
forked from MTSR/mapserver
mapserver/server/settings/settings.go
NatureFreshMilk c80a9140e9 working tests
2019-02-14 08:50:54 +01:00

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)
}