ing
This commit is contained in:
parent
e20a8715aa
commit
b31928934d
|
@ -2,6 +2,11 @@ package config
|
||||||
|
|
||||||
import "flag"
|
import "flag"
|
||||||
|
|
||||||
|
const (
|
||||||
|
LogConfigFilePathParamName = "log-config-path"
|
||||||
|
PidFilePathParamName = "pid-path"
|
||||||
|
)
|
||||||
|
|
||||||
func FlagConfigDir() *string {
|
func FlagConfigDir() *string {
|
||||||
return flag.String("config-dir", ".", "The directory path of config")
|
return flag.String("config-dir", ".", "The directory path of config")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user