fix: add msg transfer main file

This commit is contained in:
Gordon 2023-07-12 18:16:32 +08:00
parent a2f16dcf4d
commit 3fec1fa9c2

View File

@ -0,0 +1,13 @@
package main
import (
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/cmd"
)
func main() {
msgTransferCmd := cmd.NewMsgTransferCmd()
msgTransferCmd.AddPrometheusPortFlag()
if err := msgTransferCmd.Exec(); err != nil {
panic(err.Error())
}
}