Browse Source

update

master
dengbiao 1 month ago
parent
commit
02d122a224
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      cmd/logic/main.go

+ 2
- 0
cmd/logic/main.go View File

@@ -10,6 +10,7 @@ import (
"egg_im/pkg/logger" "egg_im/pkg/logger"
"egg_im/pkg/pb" "egg_im/pkg/pb"
"egg_im/pkg/urlwhitelist" "egg_im/pkg/urlwhitelist"
"fmt"
"net" "net"
"os" "os"
"os/signal" "os/signal"
@@ -41,6 +42,7 @@ func main() {


pb.RegisterLogicIntServer(server, &api.LogicIntServer{}) pb.RegisterLogicIntServer(server, &api.LogicIntServer{})
pb.RegisterLogicExtServer(server, &api.LogicExtServer{}) pb.RegisterLogicExtServer(server, &api.LogicExtServer{})
fmt.Println("logic::listenAddr>>>>", config.RPCListenAddr)
listen, err := net.Listen("tcp", config.RPCListenAddr) listen, err := net.Listen("tcp", config.RPCListenAddr)
if err != nil { if err != nil {
panic(err) panic(err)


Loading…
Cancel
Save