From 5fb4ea2aa37e7e7fb7cb621b12912bf4514f579d Mon Sep 17 00:00:00 2001 From: xmcy0011 Date: Mon, 11 Oct 2021 21:39:05 +0800 Subject: [PATCH] add cmd/open_im_msg_gateway --- {src/msg_gateway => cmd/open_im_msg_gateway}/Makefile | 0 .../open_im_msg_gateway.go => cmd/open_im_msg_gateway/main.go | 2 +- {src => internal}/msg_gateway/gate/init.go | 0 {src => internal}/msg_gateway/gate/logic.go | 0 {src => internal}/msg_gateway/gate/rpc_server.go | 0 {src => internal}/msg_gateway/gate/validate.go | 0 {src => internal}/msg_gateway/gate/ws_server.go | 0 7 files changed, 1 insertion(+), 1 deletion(-) rename {src/msg_gateway => cmd/open_im_msg_gateway}/Makefile (100%) rename src/msg_gateway/open_im_msg_gateway.go => cmd/open_im_msg_gateway/main.go (88%) rename {src => internal}/msg_gateway/gate/init.go (100%) rename {src => internal}/msg_gateway/gate/logic.go (100%) rename {src => internal}/msg_gateway/gate/rpc_server.go (100%) rename {src => internal}/msg_gateway/gate/validate.go (100%) rename {src => internal}/msg_gateway/gate/ws_server.go (100%) diff --git a/src/msg_gateway/Makefile b/cmd/open_im_msg_gateway/Makefile similarity index 100% rename from src/msg_gateway/Makefile rename to cmd/open_im_msg_gateway/Makefile diff --git a/src/msg_gateway/open_im_msg_gateway.go b/cmd/open_im_msg_gateway/main.go similarity index 88% rename from src/msg_gateway/open_im_msg_gateway.go rename to cmd/open_im_msg_gateway/main.go index 364a7568d..8a022b0d8 100644 --- a/src/msg_gateway/open_im_msg_gateway.go +++ b/cmd/open_im_msg_gateway/main.go @@ -1,7 +1,7 @@ package main import ( - "Open_IM/src/msg_gateway/gate" + "Open_IM/internal/msg_gateway/gate" "flag" "sync" ) diff --git a/src/msg_gateway/gate/init.go b/internal/msg_gateway/gate/init.go similarity index 100% rename from src/msg_gateway/gate/init.go rename to internal/msg_gateway/gate/init.go diff --git a/src/msg_gateway/gate/logic.go b/internal/msg_gateway/gate/logic.go similarity index 100% rename from src/msg_gateway/gate/logic.go rename to internal/msg_gateway/gate/logic.go diff --git a/src/msg_gateway/gate/rpc_server.go b/internal/msg_gateway/gate/rpc_server.go similarity index 100% rename from src/msg_gateway/gate/rpc_server.go rename to internal/msg_gateway/gate/rpc_server.go diff --git a/src/msg_gateway/gate/validate.go b/internal/msg_gateway/gate/validate.go similarity index 100% rename from src/msg_gateway/gate/validate.go rename to internal/msg_gateway/gate/validate.go diff --git a/src/msg_gateway/gate/ws_server.go b/internal/msg_gateway/gate/ws_server.go similarity index 100% rename from src/msg_gateway/gate/ws_server.go rename to internal/msg_gateway/gate/ws_server.go