mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-15 16:50:22 -06:00
16 lines
327 B
Go
16 lines
327 B
Go
package command
|
|
|
|
import (
|
|
"github.com/spf13/viper"
|
|
)
|
|
|
|
// init defined the default options for viper.
|
|
func init() {
|
|
viper.SetDefault("debug.addr", "0.0.0.0:8290")
|
|
viper.SetDefault("debug.token", "")
|
|
viper.SetDefault("debug.pprof", false)
|
|
|
|
viper.SetDefault("http.addr", "0.0.0.0:8280")
|
|
viper.SetDefault("http.root", "/")
|
|
}
|