Files
open-im-server/cmd/push/main.go
T

19 lines
270 B
Go
Raw Normal View History

2021-05-26 19:22:11 +08:00
package main
import (
2023-03-08 13:34:12 +08:00
"OpenIM/pkg/common/cmd"
"fmt"
"os"
2021-05-26 19:22:11 +08:00
)
func main() {
2023-03-08 13:34:12 +08:00
pushCmd := cmd.NewPushCmd()
pushCmd.AddPortFlag()
pushCmd.AddPrometheusPortFlag()
pushCmd.AddPush()
if err := pushCmd.Execute(); err != nil {
fmt.Println(err.Error())
os.Exit(1)
2023-02-23 17:28:57 +08:00
}
2021-05-26 19:22:11 +08:00
}