mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
add SetDefault function for Configuration
This commit is contained in:
parent
71d55ec5cb
commit
573b74f24f
|
@ -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…
Reference in a new issue