Browse Source

add SetDefault function for Configuration

pull/1167/head
Chris Lu 5 years ago
parent
commit
573b74f24f
  1. 1
      weed/util/config.go

1
weed/util/config.go

@ -10,6 +10,7 @@ type Configuration interface {
GetBool(key string) bool
GetInt(key string) int
GetStringSlice(key string) []string
SetDefault(key string, value interface{})
}
func LoadConfiguration(configFileName string, required bool) (loaded bool) {

Loading…
Cancel
Save