mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-07 10:35:59 +08:00
Merge remote-tracking branch 'origin/errcode' into errcode
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
func NewRootCmd() *cobra.Command {
|
||||
return &cobra.Command{
|
||||
Use: "start",
|
||||
Short: "Start the server",
|
||||
Long: `Start the server`,
|
||||
}
|
||||
}
|
||||
@@ -330,6 +330,7 @@ const LocalHost = "0.0.0.0"
|
||||
|
||||
// flag parse
|
||||
const (
|
||||
FlagPort = "port"
|
||||
FlagConf = "config_folder_path"
|
||||
FlagPort = "port"
|
||||
PrometheusPort = "prometheus_port"
|
||||
FlagConf = "config_folder_path"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user