2017-12-01 09:44:28 +00:00
|
|
|
package config
|
|
|
|
|
|
|
|
import "flag"
|
|
|
|
|
2018-03-20 15:17:41 +00:00
|
|
|
const (
|
|
|
|
LogConfigFilePathParamName = "log-config-path"
|
|
|
|
PidFilePathParamName = "pid-path"
|
|
|
|
)
|
|
|
|
|
2017-12-01 09:44:28 +00:00
|
|
|
func FlagConfigDir() *string {
|
|
|
|
return flag.String("config-dir", ".", "The directory path of config")
|
|
|
|
}
|