Browse Source

修改rpc端口获取方式

master v0.3.1
guzeng 3 years ago
parent
commit
4a240d1152
3 changed files with 7 additions and 0 deletions
  1. +4
    -0
      common.go
  2. +1
    -0
      go.mod
  3. +2
    -0
      go.sum

+ 4
- 0
common.go View File

@ -1,5 +1,9 @@
package rabbitmqrpc package rabbitmqrpc
import (
"git.tetele.net/tgo/conf"
)
const DES_KEY = "mqbitrab" const DES_KEY = "mqbitrab"
type MsgBody struct { type MsgBody struct {


+ 1
- 0
go.mod View File

@ -3,6 +3,7 @@ module git.tetele.net/tgo/rabbitmqrpc
go 1.14 go 1.14
require ( require (
git.tetele.net/tgo/conf v0.38.0 // indirect
git.tetele.net/tgo/crypter v0.2.2 // indirect git.tetele.net/tgo/crypter v0.2.2 // indirect
github.com/chai2010/protorpc v1.0.0 // indirect github.com/chai2010/protorpc v1.0.0 // indirect
github.com/golang/protobuf v1.5.2 // indirect github.com/golang/protobuf v1.5.2 // indirect


+ 2
- 0
go.sum View File

@ -1,3 +1,5 @@
git.tetele.net/tgo/conf v0.38.0 h1:mqiljzhjY9SbTmS2yL8p5clrTkkiD5JzeLrG1FT+gHM=
git.tetele.net/tgo/conf v0.38.0/go.mod h1:AWVIBEDE5dtotthUgR0SWaR2Qa6/f+O5WQ3s7Tj8q7A=
git.tetele.net/tgo/crypter v0.2.2 h1:YMQJh2Gj5Po4ZfelJUmXBKi01UbmtiSy3bmqRfnYQMo= git.tetele.net/tgo/crypter v0.2.2 h1:YMQJh2Gj5Po4ZfelJUmXBKi01UbmtiSy3bmqRfnYQMo=
git.tetele.net/tgo/crypter v0.2.2/go.mod h1:vfvRLZA8+lHNgNXneOcgvVhDyuv25ZRb+C6xHOmXNx0= git.tetele.net/tgo/crypter v0.2.2/go.mod h1:vfvRLZA8+lHNgNXneOcgvVhDyuv25ZRb+C6xHOmXNx0=
github.com/chai2010/protorpc v1.0.0 h1:aJ45G9sl1utSKo35EqnBSTs5jqTpdJDJAuZMMYPAtFo= github.com/chai2010/protorpc v1.0.0 h1:aJ45G9sl1utSKo35EqnBSTs5jqTpdJDJAuZMMYPAtFo=


Loading…
Cancel
Save